Index: fpdfsdk/src/fsdk_mgr.cpp |
diff --git a/fpdfsdk/src/fsdk_mgr.cpp b/fpdfsdk/src/fsdk_mgr.cpp |
index ecef863d6116251a8224d6fec66ea15ba9ceb403..3299b8f90942ae1eccd70852b580da0c1925cd1a 100644 |
--- a/fpdfsdk/src/fsdk_mgr.cpp |
+++ b/fpdfsdk/src/fsdk_mgr.cpp |
@@ -453,9 +453,9 @@ FX_BOOL CPDFSDK_Document::ProcOpenAction() { |
if (!pRoot) |
return FALSE; |
- CPDF_Object* pOpenAction = pRoot->GetDict("OpenAction"); |
+ CPDF_Object* pOpenAction = pRoot->GetDictBy("OpenAction"); |
if (!pOpenAction) |
- pOpenAction = pRoot->GetArray("OpenAction"); |
+ pOpenAction = pRoot->GetArrayBy("OpenAction"); |
if (!pOpenAction) |
return FALSE; |
@@ -716,7 +716,7 @@ CPDFSDK_Annot* CPDFSDK_PageView::AddAnnot(CPDF_Annot* pPDFAnnot) { |
} |
CPDFSDK_Annot* CPDFSDK_PageView::AddAnnot(CPDF_Dictionary* pDict) { |
- return pDict ? AddAnnot(pDict->GetString("Subtype"), pDict) : nullptr; |
+ return pDict ? AddAnnot(pDict->GetStringBy("Subtype"), pDict) : nullptr; |
} |
CPDFSDK_Annot* CPDFSDK_PageView::AddAnnot(const FX_CHAR* lpSubType, |