Index: core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp |
diff --git a/core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp b/core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp |
index a7df332337fe1cca5590505d371bf0c76ed3d837..555de449fa2d5e974ae63871501ebe9ab426a09a 100644 |
--- a/core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp |
+++ b/core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp |
@@ -61,7 +61,7 @@ CFX_ByteString CPDF_PageContentGenerator::RealizeResource( |
int objnum = m_pDocument->AddIndirectObject(m_pPage->m_pResources); |
m_pPage->m_pFormDict->SetAtReference("Resources", m_pDocument, objnum); |
} |
- CPDF_Dictionary* pResList = m_pPage->m_pResources->GetDict(szType); |
+ CPDF_Dictionary* pResList = m_pPage->m_pResources->GetDictBy(szType); |
if (!pResList) { |
pResList = new CPDF_Dictionary; |
m_pPage->m_pResources->SetAt(szType, pResList); |