summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/xfa_ffdocview.cpp
diff options
context:
space:
mode:
authorWei Li <weili@chromium.org>2016-03-18 15:43:04 -0700
committerWei Li <weili@chromium.org>2016-03-18 15:43:04 -0700
commite98ac2e5d77053201661cf0b82ecfb597fd72492 (patch)
tree084d9ada4a9f2464735a87ae6939fd591d46062c /xfa/fxfa/app/xfa_ffdocview.cpp
parent6ceb4a804e5ea07cf84c15e26df1f3390ea63378 (diff)
downloadpdfium-e98ac2e5d77053201661cf0b82ecfb597fd72492.tar.xz
Fix a typo
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1808853007 .
Diffstat (limited to 'xfa/fxfa/app/xfa_ffdocview.cpp')
-rw-r--r--xfa/fxfa/app/xfa_ffdocview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fxfa/app/xfa_ffdocview.cpp b/xfa/fxfa/app/xfa_ffdocview.cpp
index 64d4b2375e..f5d3fc56ab 100644
--- a/xfa/fxfa/app/xfa_ffdocview.cpp
+++ b/xfa/fxfa/app/xfa_ffdocview.cpp
@@ -297,7 +297,7 @@ int32_t CXFA_FFDocView::ProcessWidgetEvent(CXFA_EventParam* pParam,
break;
}
if (!bValidate) {
- return XFA_EVENTERROR_Sucess;
+ return XFA_EVENTERROR_Success;
}
}
CXFA_Node* pNode = pWidgetAcc ? pWidgetAcc->GetNode() : NULL;
@@ -310,7 +310,7 @@ int32_t CXFA_FFDocView::ProcessWidgetEvent(CXFA_EventParam* pParam,
pNode = pRootItem->GetChild(0, XFA_ELEMENT_Subform);
}
ExecEventActivityByDeepFirst(pNode, pParam->m_eType, pParam->m_bIsFormReady);
- return XFA_EVENTERROR_Sucess;
+ return XFA_EVENTERROR_Success;
}
IXFA_WidgetHandler* CXFA_FFDocView::GetWidgetHandler() {
if (!m_pWidgetHandler) {
@@ -691,7 +691,7 @@ void CXFA_FFDocView::RunCalculateRecursive(int32_t& iIndex) {
if (iRefCount > 11) {
break;
}
- if ((pCurAcc->ProcessCalculate()) == XFA_EVENTERROR_Sucess) {
+ if ((pCurAcc->ProcessCalculate()) == XFA_EVENTERROR_Success) {
AddValidateWidget(pCurAcc);
}
iIndex++;
@@ -712,7 +712,7 @@ int32_t CXFA_FFDocView::RunCalculateWidgets() {
pCurAcc->GetNode()->SetUserData(XFA_CalcRefCount, (void*)(uintptr_t)0);
}
m_CalculateAccs.RemoveAll();
- return XFA_EVENTERROR_Sucess;
+ return XFA_EVENTERROR_Success;
}
void CXFA_FFDocView::AddValidateWidget(CXFA_WidgetAcc* pWidget) {
if (m_ValidateAccs.Find(pWidget) < 0) {