diff options
-rw-r--r-- | core/fpdfdoc/ipdf_formnotify.h | 1 | ||||
-rw-r--r-- | fpdfsdk/cpdfsdk_interform.cpp | 4 | ||||
-rw-r--r-- | fpdfsdk/cpdfsdk_interform.h | 1 |
3 files changed, 0 insertions, 6 deletions
diff --git a/core/fpdfdoc/ipdf_formnotify.h b/core/fpdfdoc/ipdf_formnotify.h index 52e5cc96aa..301139b433 100644 --- a/core/fpdfdoc/ipdf_formnotify.h +++ b/core/fpdfdoc/ipdf_formnotify.h @@ -26,7 +26,6 @@ class IPDF_FormNotify { virtual int BeforeFormReset(CPDF_InterForm* pForm) = 0; virtual void AfterFormReset(CPDF_InterForm* pForm) = 0; virtual int BeforeFormImportData(CPDF_InterForm* pForm) = 0; - virtual void AfterFormImportData(CPDF_InterForm* pForm) = 0; }; #endif // CORE_FPDFDOC_IPDF_FORMNOTIFY_H_ diff --git a/fpdfsdk/cpdfsdk_interform.cpp b/fpdfsdk/cpdfsdk_interform.cpp index 2d25894c5d..9e4c5f4f97 100644 --- a/fpdfsdk/cpdfsdk_interform.cpp +++ b/fpdfsdk/cpdfsdk_interform.cpp @@ -692,10 +692,6 @@ int CPDFSDK_InterForm::BeforeFormImportData(CPDF_InterForm* pForm) { return 0; } -void CPDFSDK_InterForm::AfterFormImportData(CPDF_InterForm* pForm) { - OnCalculate(nullptr); -} - bool CPDFSDK_InterForm::IsNeedHighLight(FormFieldType fieldType) { if (fieldType == FormFieldType::kUnknown) return false; diff --git a/fpdfsdk/cpdfsdk_interform.h b/fpdfsdk/cpdfsdk_interform.h index a412f05689..7e2ae04b13 100644 --- a/fpdfsdk/cpdfsdk_interform.h +++ b/fpdfsdk/cpdfsdk_interform.h @@ -112,7 +112,6 @@ class CPDFSDK_InterForm : public IPDF_FormNotify { int BeforeFormReset(CPDF_InterForm* pForm) override; void AfterFormReset(CPDF_InterForm* pForm) override; int BeforeFormImportData(CPDF_InterForm* pForm) override; - void AfterFormImportData(CPDF_InterForm* pForm) override; bool FDFToURLEncodedData(uint8_t*& pBuf, size_t& nBufSize); int GetPageIndexByAnnotDict(CPDF_Document* pDocument, |