summaryrefslogtreecommitdiff
path: root/fpdfsdk/fsdk_baseform.cpp
diff options
context:
space:
mode:
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;
}
}