Index: fpdfsdk/cpdfsdk_document.cpp |
diff --git a/fpdfsdk/cpdfsdk_document.cpp b/fpdfsdk/cpdfsdk_document.cpp |
index fc09e8a79610857c4aac7dd5bbf255455b4e306b..339aeab8c6383ec1c4ae11c7da94b8eff55c1607 100644 |
--- a/fpdfsdk/cpdfsdk_document.cpp |
+++ b/fpdfsdk/cpdfsdk_document.cpp |
@@ -103,9 +103,9 @@ FX_BOOL CPDFSDK_Document::ProcOpenAction() { |
if (!pRoot) |
return FALSE; |
- CPDF_Object* pOpenAction = pRoot->GetDictBy("OpenAction"); |
+ CPDF_Object* pOpenAction = pRoot->GetDictFor("OpenAction"); |
if (!pOpenAction) |
- pOpenAction = pRoot->GetArrayBy("OpenAction"); |
+ pOpenAction = pRoot->GetArrayFor("OpenAction"); |
if (!pOpenAction) |
return FALSE; |