From 11bb17875604a51f442f8c906555c146a5571d2d Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 22 May 2018 13:58:58 +0000 Subject: 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 Reviewed-by: dsinclair --- fpdfsdk/pwl/cpwl_list_box.cpp | 4 ---- fpdfsdk/pwl/cpwl_list_box.h | 1 - 2 files changed, 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; -- cgit v1.2.3