diff options
Diffstat (limited to 'fpdfsdk/fpdfsave.cpp')
-rw-r--r-- | fpdfsdk/fpdfsave.cpp | 8 |
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); |