Index: fpdfsdk/src/fpdfeditpage.cpp |
diff --git a/fpdfsdk/src/fpdfeditpage.cpp b/fpdfsdk/src/fpdfeditpage.cpp |
index f371f82df3c5c932dc54c56c9fffc62f177be4c0..2fdc7de3f581df3ead3027bf3fe82f500d7c08a1 100644 |
--- a/fpdfsdk/src/fpdfeditpage.cpp |
+++ b/fpdfsdk/src/fpdfeditpage.cpp |
@@ -39,7 +39,7 @@ DLLEXPORT FPDF_DOCUMENT STDCALL FPDF_CreateNewDocument() |
} |
} |
} |
- |
+ |
CPDF_Dictionary* pInfoDict = NULL; |
pInfoDict = pDoc->GetInfo(); |
if (pInfoDict) |
@@ -49,9 +49,8 @@ DLLEXPORT FPDF_DOCUMENT STDCALL FPDF_CreateNewDocument() |
pInfoDict->SetAt("Creator",FX_NEW CPDF_String(L"PDFium")); |
} |
- CPDFXFA_App* pApp = FPDFXFA_GetApp(); |
+ CPDFXFA_App* pApp = CPDFXFA_App::GetInstance(); |
CPDFXFA_Document* document = FX_NEW CPDFXFA_Document(pDoc, pApp); |
- |
return document; |
} |