diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-10-04 00:26:17 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-04 00:26:17 +0000 |
commit | 912f2d154162cef0dcb59f030a45b1f4f024f78a (patch) | |
tree | 035caa58cdc7154f75ea9778fc027d95eec85449 /core/fpdfdoc/cpdf_formfield.cpp | |
parent | 80482dc264c537945f95b0419ba4f9a70d6ae4cd (diff) | |
download | pdfium-912f2d154162cef0dcb59f030a45b1f4f024f78a.tar.xz |
Remove several more unused methods from core/
Change-Id: I891add4e91c7ee58b34974fed6d73d17c297e759
Reviewed-on: https://pdfium-review.googlesource.com/c/43459
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpdf_formfield.cpp')
-rw-r--r-- | core/fpdfdoc/cpdf_formfield.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/core/fpdfdoc/cpdf_formfield.cpp b/core/fpdfdoc/cpdf_formfield.cpp index e99c745cc9..c3bddd156f 100644 --- a/core/fpdfdoc/cpdf_formfield.cpp +++ b/core/fpdfdoc/cpdf_formfield.cpp @@ -837,21 +837,6 @@ bool CPDF_FormField::SelectOption(int iOptIndex, return true; } -bool CPDF_FormField::ClearSelectedOptions(NotificationOption notify) { - if (notify == NotificationOption::kNotify && m_pForm->GetFormNotify()) { - WideString csValue; - int iIndex = GetSelectedIndex(0); - if (iIndex >= 0) - csValue = GetOptionLabel(iIndex); - if (!NotifyListOrComboBoxBeforeChange(csValue)) - return false; - } - m_pDict->RemoveFor("I"); - if (notify == NotificationOption::kNotify) - NotifyListOrComboBoxAfterChange(); - return true; -} - void CPDF_FormField::LoadDA() { CPDF_Dictionary* pFormDict = m_pForm->GetFormDict(); if (!pFormDict) |