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 e2e4d0cf1e52ca18765e61635235d668d7f42868..01829481730f2acccbf8f56170468c190c29ce13 100644 |
--- a/core/fpdfapi/fpdf_parser/cfdf_document.cpp |
+++ b/core/fpdfapi/fpdf_parser/cfdf_document.cpp |
@@ -26,7 +26,7 @@ CFDF_Document* CFDF_Document::CreateNewDoc() { |
pDoc->m_pRootDict = new CPDF_Dictionary; |
pDoc->AddIndirectObject(pDoc->m_pRootDict); |
CPDF_Dictionary* pFDFDict = new CPDF_Dictionary; |
- pDoc->m_pRootDict->SetAt("FDF", pFDFDict); |
+ pDoc->m_pRootDict->SetFor("FDF", pFDFDict); |
return pDoc; |
} |
@@ -76,7 +76,7 @@ void CFDF_Document::ParseStream(IFX_FileRead* pFile, FX_BOOL bOwnFile) { |
if (CPDF_Dictionary* pMainDict = |
ToDictionary(parser.GetObject(this, 0, 0, true))) { |
- m_pRootDict = pMainDict->GetDictBy("Root"); |
+ m_pRootDict = pMainDict->GetDictFor("Root"); |
pMainDict->Release(); |
} |
break; |