summaryrefslogtreecommitdiff
path: root/fpdfsdk/pwl/cpwl_edit.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-12-19 19:00:43 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-12-19 19:00:43 +0000
commit58c2c144c5ac6a7397573d2f25d1ba9c79bc4f15 (patch)
tree438cd4c32e367e1433d5e5f01896984d564f67c2 /fpdfsdk/pwl/cpwl_edit.cpp
parent9ccf08746e57a03fd9afc187cb3e23404cdc88bb (diff)
downloadpdfium-58c2c144c5ac6a7397573d2f25d1ba9c79bc4f15.tar.xz
Remove some dead code.
Change-Id: I8edb14c024860c66b5e6c014136393e71e38387d Reviewed-on: https://pdfium-review.googlesource.com/21570 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/pwl/cpwl_edit.cpp')
-rw-r--r--fpdfsdk/pwl/cpwl_edit.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/fpdfsdk/pwl/cpwl_edit.cpp b/fpdfsdk/pwl/cpwl_edit.cpp
index f2ed03dea4..6c867ca456 100644
--- a/fpdfsdk/pwl/cpwl_edit.cpp
+++ b/fpdfsdk/pwl/cpwl_edit.cpp
@@ -126,10 +126,6 @@ bool CPWL_Edit::CanSelectAll() const {
return GetSelectWordRange() != m_pEdit->GetWholeWordRange();
}
-bool CPWL_Edit::CanClear() const {
- return !IsReadOnly() && m_pEdit->IsSelected();
-}
-
bool CPWL_Edit::CanCopy() const {
return !HasFlag(PES_PASSWORD) && !HasFlag(PES_NOREAD) &&
m_pEdit->IsSelected();
@@ -674,11 +670,6 @@ CPVT_WordRange CPWL_Edit::GetLatinWordsRange(
return GetSameWordsRange(place, true, false);
}
-CPVT_WordRange CPWL_Edit::GetArabicWordsRange(
- const CPVT_WordPlace& place) const {
- return GetSameWordsRange(place, false, true);
-}
-
#define PWL_ISARABICWORD(word) \
((word >= 0x0600 && word <= 0x06FF) || (word >= 0xFB50 && word <= 0xFEFC))