diff options
author | tsepez <tsepez@chromium.org> | 2016-05-13 15:19:22 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-13 15:19:22 -0700 |
commit | 8adc153ea6fe778d19dc33cd2c5b87aed312b29b (patch) | |
tree | 4d211dbbee779e74c485149d037c9ee2bcbf7fce /xfa/fwl/lightwidget | |
parent | f7036ba5884b9829fcb17aea4f3a16831abb7516 (diff) | |
download | pdfium-8adc153ea6fe778d19dc33cd2c5b87aed312b29b.tar.xz |
ReplaceSelections() methods never called.
Review-Url: https://codereview.chromium.org/1973883005
Diffstat (limited to 'xfa/fwl/lightwidget')
-rw-r--r-- | xfa/fwl/lightwidget/cfwl_edit.cpp | 6 | ||||
-rw-r--r-- | xfa/fwl/lightwidget/cfwl_edit.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/xfa/fwl/lightwidget/cfwl_edit.cpp b/xfa/fwl/lightwidget/cfwl_edit.cpp index 0303e6c2a2..f151edd7e9 100644 --- a/xfa/fwl/lightwidget/cfwl_edit.cpp +++ b/xfa/fwl/lightwidget/cfwl_edit.cpp @@ -140,12 +140,6 @@ FWL_Error CFWL_Edit::DeleteRange(int32_t nStart, int32_t nCount) { return static_cast<IFWL_Edit*>(m_pIface)->DeleteRange(nStart, nCount); } -FWL_Error CFWL_Edit::ReplaceSelections(const CFX_WideStringC& wsReplace) { - if (!m_pIface) - return FWL_Error::Indefinite; - return static_cast<IFWL_Edit*>(m_pIface)->ReplaceSelections(wsReplace); -} - FWL_Error CFWL_Edit::Replace(int32_t nStart, int32_t nLen, const CFX_WideStringC& wsReplace) { diff --git a/xfa/fwl/lightwidget/cfwl_edit.h b/xfa/fwl/lightwidget/cfwl_edit.h index 5f3e045535..c7001a3166 100644 --- a/xfa/fwl/lightwidget/cfwl_edit.h +++ b/xfa/fwl/lightwidget/cfwl_edit.h @@ -36,7 +36,6 @@ class CFWL_Edit : public CFWL_Widget { FWL_Error Insert(int32_t nStart, const FX_WCHAR* lpText, int32_t nLen); FWL_Error DeleteSelections(); FWL_Error DeleteRange(int32_t nStart, int32_t nCount = -1); - FWL_Error ReplaceSelections(const CFX_WideStringC& wsReplace); FWL_Error Replace(int32_t nStart, int32_t nLen, const CFX_WideStringC& wsReplace); |