summaryrefslogtreecommitdiff
path: root/fpdfsdk/fsdk_baseform.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 /fpdfsdk/fsdk_baseform.cpp
parent6ceb4a804e5ea07cf84c15e26df1f3390ea63378 (diff)
downloadpdfium-e98ac2e5d77053201661cf0b82ecfb597fd72492.tar.xz
Fix a typo
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1808853007 .
Diffstat (limited to 'fpdfsdk/fsdk_baseform.cpp')
-rw-r--r--fpdfsdk/fsdk_baseform.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/fsdk_baseform.cpp b/fpdfsdk/fsdk_baseform.cpp
index d260ecb17b..38dd1f2d9f 100644
--- a/fpdfsdk/fsdk_baseform.cpp
+++ b/fpdfsdk/fsdk_baseform.cpp
@@ -243,13 +243,13 @@ FX_BOOL CPDFSDK_Widget::OnXFAAAction(PDFSDK_XFAAActionType eXFAAAT,
CXFA_WidgetAcc* pAcc = pXFAWidgetHandler->GetDataAcc(hWidget);
param.m_pTarget = pAcc;
int32_t nRet = pXFAWidgetHandler->ProcessEvent(pAcc, &param);
- return nRet == XFA_EVENTERROR_Sucess;
+ return nRet == XFA_EVENTERROR_Success;
}
} else {
CXFA_WidgetAcc* pAcc = pXFAWidgetHandler->GetDataAcc(hWidget);
param.m_pTarget = pAcc;
int32_t nRet = pXFAWidgetHandler->ProcessEvent(pAcc, &param);
- return nRet == XFA_EVENTERROR_Sucess;
+ return nRet == XFA_EVENTERROR_Success;
}
if (IXFA_DocView* pDocView = pDoc->GetXFADocView()) {
@@ -1909,7 +1909,7 @@ FX_BOOL CPDFSDK_Widget::OnAAction(CPDF_AAction::AActionType type,
pDocView->UpdateDocView();
}
- if (nRet == XFA_EVENTERROR_Sucess)
+ if (nRet == XFA_EVENTERROR_Success)
return TRUE;
}
}