summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_interform.cpp
diff options
context:
space:
mode:
authordan sinclair <dsinclair@chromium.org>2018-03-08 15:13:19 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-08 15:13:19 +0000
commitf19255a1deec5f3ce804b08901abf7746e609bfe (patch)
tree51548e2c51d8b94ac0dc445eae2af1dc1cd90901 /fpdfsdk/cpdfsdk_interform.cpp
parent4ce3f6e8bdb64624435620e606513d6aba1cafc8 (diff)
downloadpdfium-f19255a1deec5f3ce804b08901abf7746e609bfe.tar.xz
Remove BeforeFormImportData and BeforeFormReset
Both of these IPDF_FormNotify callbacks have empty implementations which just return 0. Removed. Change-Id: I3324113222f19d2f7a2323ab5086e446d2064451 Reviewed-on: https://pdfium-review.googlesource.com/28191 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_interform.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_interform.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/fpdfsdk/cpdfsdk_interform.cpp b/fpdfsdk/cpdfsdk_interform.cpp
index 9e4c5f4f97..94c9b23473 100644
--- a/fpdfsdk/cpdfsdk_interform.cpp
+++ b/fpdfsdk/cpdfsdk_interform.cpp
@@ -680,18 +680,10 @@ void CPDFSDK_InterForm::AfterCheckedStatusChange(CPDF_FormField* pField) {
UpdateField(pField);
}
-int CPDFSDK_InterForm::BeforeFormReset(CPDF_InterForm* pForm) {
- return 0;
-}
-
void CPDFSDK_InterForm::AfterFormReset(CPDF_InterForm* pForm) {
OnCalculate(nullptr);
}
-int CPDFSDK_InterForm::BeforeFormImportData(CPDF_InterForm* pForm) {
- return 0;
-}
-
bool CPDFSDK_InterForm::IsNeedHighLight(FormFieldType fieldType) {
if (fieldType == FormFieldType::kUnknown)
return false;