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