summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffdocview.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-07 18:42:20 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-07 18:42:20 +0000
commitf44cf89c0263708b7d475fb1aeba6ba42f54766f (patch)
tree34e9d3d2919bfbc1c251e1096c4911373f26adb3 /xfa/fxfa/cxfa_ffdocview.cpp
parentcce8e2f46d0fb64c2558c24a2aa33ac929dfdad6 (diff)
downloadpdfium-f44cf89c0263708b7d475fb1aeba6ba42f54766f.tar.xz
Rename CXFA_Calculate to CXFA_CalculateData
This CL renames CXFA_Calculate to CXFA_CalculateData to make it clear it's part of the data hierarchy. Change-Id: I259b9816bde9cc6c70550944906fcafa954ef32e Reviewed-on: https://pdfium-review.googlesource.com/17976 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffdocview.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffdocview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_ffdocview.cpp b/xfa/fxfa/cxfa_ffdocview.cpp
index 3302e40f5d..ae277f05e4 100644
--- a/xfa/fxfa/cxfa_ffdocview.cpp
+++ b/xfa/fxfa/cxfa_ffdocview.cpp
@@ -412,13 +412,13 @@ static int32_t XFA_ProcessEvent(CXFA_FFDocView* pDocView,
}
return XFA_EVENTERROR_Disabled;
case XFA_EVENT_InitCalculate: {
- CXFA_Calculate calc = pWidgetAcc->GetCalculate();
- if (!calc)
+ CXFA_CalculateData calcData = pWidgetAcc->GetCalculateData();
+ if (!calcData)
return XFA_EVENTERROR_NotExist;
if (pWidgetAcc->GetNode()->IsUserInteractive())
return XFA_EVENTERROR_Disabled;
- CXFA_Script script = calc.GetScript();
+ CXFA_Script script = calcData.GetScript();
return pWidgetAcc->ExecuteScript(script, pParam);
}
default: