diff options
Diffstat (limited to 'fpdfsdk/cpdfsdk_formfillenvironment.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_formfillenvironment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/cpdfsdk_formfillenvironment.cpp b/fpdfsdk/cpdfsdk_formfillenvironment.cpp index 680cd252b7..6c6e3673e8 100644 --- a/fpdfsdk/cpdfsdk_formfillenvironment.cpp +++ b/fpdfsdk/cpdfsdk_formfillenvironment.cpp @@ -609,7 +609,7 @@ void CPDFSDK_FormFillEnvironment::ProcJavascriptFun() { return; for (int i = 0; i < iCount; i++) { CFX_ByteString csJSName; - CPDF_Action jsAction = docJS.GetJSAction(i, csJSName); + CPDF_Action jsAction = docJS.GetJSActionAndName(i, &csJSName); if (GetActionHander()) { GetActionHander()->DoAction_JavaScript( jsAction, CFX_WideString::FromLocal(csJSName.AsStringC()), this); |