diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-07 18:42:20 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-07 18:42:20 +0000 |
commit | f44cf89c0263708b7d475fb1aeba6ba42f54766f (patch) | |
tree | 34e9d3d2919bfbc1c251e1096c4911373f26adb3 /xfa/fxfa/cxfa_widgetacc.cpp | |
parent | cce8e2f46d0fb64c2558c24a2aa33ac929dfdad6 (diff) | |
download | pdfium-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_widgetacc.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_widgetacc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_widgetacc.cpp b/xfa/fxfa/cxfa_widgetacc.cpp index c4ecd6db9e..59046d3313 100644 --- a/xfa/fxfa/cxfa_widgetacc.cpp +++ b/xfa/fxfa/cxfa_widgetacc.cpp @@ -319,15 +319,15 @@ int32_t CXFA_WidgetAcc::ProcessCalculate() { if (GetElementType() == XFA_Element::Draw) return XFA_EVENTERROR_NotExist; - CXFA_Calculate calc = GetCalculate(); - if (!calc) + CXFA_CalculateData calcData = GetCalculateData(); + if (!calcData) return XFA_EVENTERROR_NotExist; if (GetNode()->IsUserInteractive()) return XFA_EVENTERROR_Disabled; CXFA_EventParam EventParam; EventParam.m_eType = XFA_EVENT_Calculate; - CXFA_Script script = calc.GetScript(); + CXFA_Script script = calcData.GetScript(); int32_t iRet = ExecuteScript(script, &EventParam); if (iRet != XFA_EVENTERROR_Success) return iRet; |