summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfsave.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-06-20 17:26:44 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-06-21 12:54:15 +0000
commitcddc8eddbd33e8e96540341eb9781403ae423b93 (patch)
treeb31f8929ab95beb844d6d99d47f51729a5f6417b /fpdfsdk/fpdfsave.cpp
parent222e1a425e2d2199a842883dcc330a549f400630 (diff)
downloadpdfium-cddc8eddbd33e8e96540341eb9781403ae423b93.tar.xz
Fix typos that meant to say handler instead of hander.
Change-Id: I60f556f107f740b854237bc89184b09e4f1d2585 Reviewed-on: https://pdfium-review.googlesource.com/6790 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfsave.cpp')
-rw-r--r--fpdfsdk/fpdfsave.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/fpdfsave.cpp b/fpdfsdk/fpdfsave.cpp
index b0e0ec7cc3..ae9f2a17b8 100644
--- a/fpdfsdk/fpdfsave.cpp
+++ b/fpdfsdk/fpdfsave.cpp
@@ -201,13 +201,13 @@ bool SendPostSaveToXFADoc(CPDFXFA_Context* pContext) {
if (!pXFADocView)
return false;
- CXFA_FFWidgetHandler* pWidgetHander = pXFADocView->GetWidgetHandler();
+ CXFA_FFWidgetHandler* pWidgetHandler = pXFADocView->GetWidgetHandler();
std::unique_ptr<CXFA_WidgetAccIterator> pWidgetAccIterator =
pXFADocView->CreateWidgetAccIterator();
while (CXFA_WidgetAcc* pWidgetAcc = pWidgetAccIterator->MoveToNext()) {
CXFA_EventParam preParam;
preParam.m_eType = XFA_EVENT_PostSave;
- pWidgetHander->ProcessEvent(pWidgetAcc, &preParam);
+ pWidgetHandler->ProcessEvent(pWidgetAcc, &preParam);
}
pXFADocView->UpdateDocView();
pContext->ClearChangeMark();
@@ -225,13 +225,13 @@ bool SendPreSaveToXFADoc(
if (!pXFADocView)
return true;
- CXFA_FFWidgetHandler* pWidgetHander = pXFADocView->GetWidgetHandler();
+ CXFA_FFWidgetHandler* pWidgetHandler = pXFADocView->GetWidgetHandler();
std::unique_ptr<CXFA_WidgetAccIterator> pWidgetAccIterator =
pXFADocView->CreateWidgetAccIterator();
while (CXFA_WidgetAcc* pWidgetAcc = pWidgetAccIterator->MoveToNext()) {
CXFA_EventParam preParam;
preParam.m_eType = XFA_EVENT_PreSave;
- pWidgetHander->ProcessEvent(pWidgetAcc, &preParam);
+ pWidgetHandler->ProcessEvent(pWidgetAcc, &preParam);
}
pXFADocView->UpdateDocView();
return SaveXFADocumentData(pContext, fileList);