| Index: core/src/fpdfdoc/doc_utils.cpp
|
| diff --git a/core/src/fpdfdoc/doc_utils.cpp b/core/src/fpdfdoc/doc_utils.cpp
|
| index b0705ea556ed5a0e45f4b845f61f87385fd8aa80..01a7470ef0cbcc5bdeabc6fc5337af348458c1c6 100644
|
| --- a/core/src/fpdfdoc/doc_utils.cpp
|
| +++ b/core/src/fpdfdoc/doc_utils.cpp
|
| @@ -228,7 +228,7 @@ void InitInterFormDict(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument) {
|
| return;
|
| }
|
| if (!pFormDict) {
|
| - pFormDict = CPDF_Dictionary::Create();
|
| + pFormDict = new CPDF_Dictionary;
|
| FX_DWORD dwObjNum = pDocument->AddIndirectObject(pFormDict);
|
| CPDF_Dictionary* pRoot = pDocument->GetRoot();
|
| pRoot->SetAtReference("AcroForm", pDocument, dwObjNum);
|
| @@ -560,12 +560,12 @@ void AddInterFormFont(CPDF_Dictionary*& pFormDict,
|
| }
|
| CPDF_Dictionary* pDR = pFormDict->GetDict("DR");
|
| if (!pDR) {
|
| - pDR = CPDF_Dictionary::Create();
|
| + pDR = new CPDF_Dictionary;
|
| pFormDict->SetAt("DR", pDR);
|
| }
|
| CPDF_Dictionary* pFonts = pDR->GetDict("Font");
|
| if (!pFonts) {
|
| - pFonts = CPDF_Dictionary::Create();
|
| + pFonts = new CPDF_Dictionary;
|
| pDR->SetAt("Font", pFonts);
|
| }
|
| if (csNameTag.IsEmpty()) {
|
|
|