diff options
Diffstat (limited to 'core/fpdfdoc/cpdf_interform.cpp')
-rw-r--r-- | core/fpdfdoc/cpdf_interform.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/fpdfdoc/cpdf_interform.cpp b/core/fpdfdoc/cpdf_interform.cpp index c991598a22..f541d7087c 100644 --- a/core/fpdfdoc/cpdf_interform.cpp +++ b/core/fpdfdoc/cpdf_interform.cpp @@ -59,8 +59,7 @@ void InitDict(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument) { return; if (!pFormDict) { - pFormDict = - pDocument->NewIndirect<CPDF_Dictionary>(pDocument->GetByteStringPool()); + pFormDict = pDocument->NewIndirect<CPDF_Dictionary>(); pDocument->GetRoot()->SetReferenceFor("AcroForm", pDocument, pFormDict->GetObjNum()); } |