summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
authordan sinclair <dsinclair@chromium.org>2018-03-08 15:12:23 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-08 15:12:23 +0000
commit4ce3f6e8bdb64624435620e606513d6aba1cafc8 (patch)
treec0a3cbce9e821f4d051cb928e6cd57c61fc46b3c /fpdfsdk
parent04d792fb7510e328f508bc81379ca15791af93e7 (diff)
downloadpdfium-4ce3f6e8bdb64624435620e606513d6aba1cafc8.tar.xz
Remove uncalled AfterFormImportData
The IPDF_FormNotify::AfterFormImportData method is never called. Removed. Change-Id: I0c436193a0af7bc94077bb719e48682bbf7a9b2b Reviewed-on: https://pdfium-review.googlesource.com/28190 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/cpdfsdk_interform.cpp4
-rw-r--r--fpdfsdk/cpdfsdk_interform.h1
2 files changed, 0 insertions, 5 deletions
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,