summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-05-22 16:52:49 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-22 16:52:49 +0000
commit7f472cd8abe48ffc59dee2a7e37f72e469ddfd7e (patch)
treedaf14236cd53157e3aa5684f584384f71581ec36
parenta2edb51dcd4551a021438cbb8b6e1b5172b3ca18 (diff)
downloadpdfium-chromium/3438.tar.xz
Remove useless CPDFSDK_Widget::SetDefaultValue().chromium/3438
Change-Id: I5fda9b68309a8b1f0b1768c26a25c95d7dda8d3d Reviewed-on: https://pdfium-review.googlesource.com/32745 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
-rw-r--r--fpdfsdk/cpdfsdk_widget.cpp1
-rw-r--r--fpdfsdk/cpdfsdk_widget.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/fpdfsdk/cpdfsdk_widget.cpp b/fpdfsdk/cpdfsdk_widget.cpp
index 8f345412cf..840c75a3b0 100644
--- a/fpdfsdk/cpdfsdk_widget.cpp
+++ b/fpdfsdk/cpdfsdk_widget.cpp
@@ -559,7 +559,6 @@ void CPDFSDK_Widget::SetValue(const WideString& sValue, bool bNotify) {
#endif // PDF_ENABLE_XFA
}
-void CPDFSDK_Widget::SetDefaultValue(const WideString& sValue) {}
void CPDFSDK_Widget::SetOptionSelection(int index,
bool bSelected,
bool bNotify) {
diff --git a/fpdfsdk/cpdfsdk_widget.h b/fpdfsdk/cpdfsdk_widget.h
index e480fc921a..db03262aa9 100644
--- a/fpdfsdk/cpdfsdk_widget.h
+++ b/fpdfsdk/cpdfsdk_widget.h
@@ -87,7 +87,6 @@ class CPDFSDK_Widget : public CPDFSDK_BAAnnot {
void SetCheck(bool bChecked, bool bNotify);
void SetValue(const WideString& sValue, bool bNotify);
- void SetDefaultValue(const WideString& sValue);
void SetOptionSelection(int index, bool bSelected, bool bNotify);
void ClearSelection(bool bNotify);
void SetTopVisibleIndex(int index);