summaryrefslogtreecommitdiff
path: root/fpdfsdk/pwl
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-05-22 13:58:58 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-22 13:58:58 +0000
commit11bb17875604a51f442f8c906555c146a5571d2d (patch)
tree0c6af5ddb2a334b3b5811048ecbd3f0b4cb82819 /fpdfsdk/pwl
parenta3ee6a0081ab16a2034b36d1d0f9b6907aec67d2 (diff)
downloadpdfium-11bb17875604a51f442f8c906555c146a5571d2d.tar.xz
Remove useless CPWL_ListBox::KillFocus().
This override method just calls its parent class's method. Change-Id: I4b22f55267a651a0eef0bf4e77d1231a7721fd6c Reviewed-on: https://pdfium-review.googlesource.com/32747 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/pwl')
-rw-r--r--fpdfsdk/pwl/cpwl_list_box.cpp4
-rw-r--r--fpdfsdk/pwl/cpwl_list_box.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/fpdfsdk/pwl/cpwl_list_box.cpp b/fpdfsdk/pwl/cpwl_list_box.cpp
index 03b649834d..fdcd4bb635 100644
--- a/fpdfsdk/pwl/cpwl_list_box.cpp
+++ b/fpdfsdk/pwl/cpwl_list_box.cpp
@@ -246,10 +246,6 @@ void CPWL_ListBox::ScrollWindowVertically(float pos) {
m_pList->SetScrollPos(CFX_PointF(0, pos));
}
-void CPWL_ListBox::KillFocus() {
- CPWL_Wnd::KillFocus();
-}
-
bool CPWL_ListBox::RePosChildWnd() {
if (!CPWL_Wnd::RePosChildWnd())
return false;
diff --git a/fpdfsdk/pwl/cpwl_list_box.h b/fpdfsdk/pwl/cpwl_list_box.h
index b424afc51e..0371ba1b54 100644
--- a/fpdfsdk/pwl/cpwl_list_box.h
+++ b/fpdfsdk/pwl/cpwl_list_box.h
@@ -55,7 +55,6 @@ class CPWL_ListBox : public CPWL_Wnd {
bool OnMouseWheel(short zDelta,
const CFX_PointF& point,
uint32_t nFlag) override;
- void KillFocus() override;
WideString GetText() override;
void SetScrollInfo(const PWL_SCROLL_INFO& info) override;
void SetScrollPosition(float pos) override;