summaryrefslogtreecommitdiff
path: root/fpdfsdk/formfiller/cffl_interactiveformfiller.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-10-12 09:12:47 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-12 09:12:47 -0700
commita30537f8b07492489e81414c9037af90c8b1448e (patch)
treedd3b94cef9876afafe9c69939dc581cd1b23bf7f /fpdfsdk/formfiller/cffl_interactiveformfiller.cpp
parent7dd285df25630482bfd7bceea3678ff1dc60aab5 (diff)
downloadpdfium-a30537f8b07492489e81414c9037af90c8b1448e.tar.xz
Remove unused widget handler overrides
This CL removes override points from the widget hander classes. Review-Url: https://codereview.chromium.org/2410193005
Diffstat (limited to 'fpdfsdk/formfiller/cffl_interactiveformfiller.cpp')
-rw-r--r--fpdfsdk/formfiller/cffl_interactiveformfiller.cpp19
1 files changed, 1 insertions, 18 deletions
diff --git a/fpdfsdk/formfiller/cffl_interactiveformfiller.cpp b/fpdfsdk/formfiller/cffl_interactiveformfiller.cpp
index 27ad4faeb6..e3a136eebe 100644
--- a/fpdfsdk/formfiller/cffl_interactiveformfiller.cpp
+++ b/fpdfsdk/formfiller/cffl_interactiveformfiller.cpp
@@ -101,23 +101,7 @@ void CFFL_InteractiveFormFiller::OnDraw(CPDFSDK_PageView* pPageView,
pWidget->DrawShadow(pDevice, pPageView);
}
-void CFFL_InteractiveFormFiller::OnCreate(CPDFSDK_Annot* pAnnot) {
- if (CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot, FALSE)) {
- pFormFiller->OnCreate(pAnnot);
- }
-}
-
-void CFFL_InteractiveFormFiller::OnLoad(CPDFSDK_Annot* pAnnot) {
- if (CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot, FALSE)) {
- pFormFiller->OnLoad(pAnnot);
- }
-}
-
void CFFL_InteractiveFormFiller::OnDelete(CPDFSDK_Annot* pAnnot) {
- if (CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot, FALSE)) {
- pFormFiller->OnDelete(pAnnot);
- }
-
UnRegisterFormFiller(pAnnot);
}
@@ -533,9 +517,8 @@ CFFL_FormFiller* CFFL_InteractiveFormFiller::GetFormFiller(
}
void CFFL_InteractiveFormFiller::RemoveFormFiller(CPDFSDK_Annot* pAnnot) {
- if (pAnnot) {
+ if (pAnnot)
UnRegisterFormFiller(pAnnot);
- }
}
void CFFL_InteractiveFormFiller::UnRegisterFormFiller(CPDFSDK_Annot* pAnnot) {