Index: fpdfsdk/src/fpdfformfill.cpp |
diff --git a/fpdfsdk/src/fpdfformfill.cpp b/fpdfsdk/src/fpdfformfill.cpp |
index 93b25ffec12c62909f0ac352fb6d14fa8c9308ed..d34739785dd749117b36f9fa31e0869a87bd34f6 100644 |
--- a/fpdfsdk/src/fpdfformfill.cpp |
+++ b/fpdfsdk/src/fpdfformfill.cpp |
@@ -312,7 +312,7 @@ DLLEXPORT void STDCALL FORM_DoDocumentAAction(FPDF_FORMHANDLE hHandle, |
if (!pDic) |
return; |
- CPDF_AAction aa = pDic->GetDict("AA"); |
+ CPDF_AAction aa = pDic->GetDictBy("AA"); |
if (aa.ActionExist((CPDF_AAction::AActionType)aaType)) { |
CPDF_Action action = aa.GetAction((CPDF_AAction::AActionType)aaType); |
CPDFSDK_ActionHandler* pActionHandler = |
@@ -336,7 +336,7 @@ DLLEXPORT void STDCALL FORM_DoPageAAction(FPDF_PAGE page, |
CPDFDoc_Environment* pEnv = pSDKDoc->GetEnv(); |
CPDFSDK_ActionHandler* pActionHandler = pEnv->GetActionHander(); |
CPDF_Dictionary* pPageDict = pPDFPage->m_pFormDict; |
- CPDF_AAction aa = pPageDict->GetDict("AA"); |
+ CPDF_AAction aa = pPageDict->GetDictBy("AA"); |
if (FPDFPAGE_AACTION_OPEN == aaType) { |
if (aa.ActionExist(CPDF_AAction::OpenPage)) { |
CPDF_Action action = aa.GetAction(CPDF_AAction::OpenPage); |