Index: core/fpdfapi/fpdf_page/cpdf_form.cpp |
diff --git a/core/fpdfapi/fpdf_page/cpdf_form.cpp b/core/fpdfapi/fpdf_page/cpdf_form.cpp |
index 570419f58f4c2730372ab3b8a92acfe6cecc04d3..bf0dade4b1d8ce99aa3d8363aa0d194eb1047dbb 100644 |
--- a/core/fpdfapi/fpdf_page/cpdf_form.cpp |
+++ b/core/fpdfapi/fpdf_page/cpdf_form.cpp |
@@ -19,7 +19,7 @@ CPDF_Form::CPDF_Form(CPDF_Document* pDoc, |
m_pDocument = pDoc; |
m_pFormStream = pFormStream; |
m_pFormDict = pFormStream ? pFormStream->GetDict() : nullptr; |
- m_pResources = m_pFormDict->GetDictBy("Resources"); |
+ m_pResources = m_pFormDict->GetDictFor("Resources"); |
m_pPageResources = pPageResources; |
if (!m_pResources) |
m_pResources = pParentResources; |