| Index: core/fpdfapi/fpdf_parser/cfdf_document.cpp
|
| diff --git a/core/fpdfapi/fpdf_parser/cfdf_document.cpp b/core/fpdfapi/fpdf_parser/cfdf_document.cpp
|
| index 01829481730f2acccbf8f56170468c190c29ce13..28146d210ac5f3b2f292dbd0ec507a2644d751c1 100644
|
| --- a/core/fpdfapi/fpdf_parser/cfdf_document.cpp
|
| +++ b/core/fpdfapi/fpdf_parser/cfdf_document.cpp
|
| @@ -23,10 +23,10 @@ CFDF_Document::~CFDF_Document() {
|
|
|
| CFDF_Document* CFDF_Document::CreateNewDoc() {
|
| CFDF_Document* pDoc = new CFDF_Document;
|
| - pDoc->m_pRootDict = new CPDF_Dictionary;
|
| + pDoc->m_pRootDict = new CPDF_Dictionary(pDoc->GetByteStringPool());
|
| pDoc->AddIndirectObject(pDoc->m_pRootDict);
|
| - CPDF_Dictionary* pFDFDict = new CPDF_Dictionary;
|
| - pDoc->m_pRootDict->SetFor("FDF", pFDFDict);
|
| + pDoc->m_pRootDict->SetFor("FDF",
|
| + new CPDF_Dictionary(pDoc->GetByteStringPool()));
|
| return pDoc;
|
| }
|
|
|
|
|