From 5688d624690e1fdc3cbbbbf23a5b475f40818728 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Sat, 12 Aug 2017 07:04:19 -0700 Subject: Remove CPWL_EditImpl::EnableOprNotify(). It's redundant with SetOprNotify(). Change-Id: Iee2741744017ea6bd1b9839fc6395197c560f1e7 Reviewed-on: https://pdfium-review.googlesource.com/10850 Reviewed-by: dsinclair Commit-Queue: Lei Zhang --- fpdfsdk/pwl/cpwl_edit_impl.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'fpdfsdk/pwl/cpwl_edit_impl.h') diff --git a/fpdfsdk/pwl/cpwl_edit_impl.h b/fpdfsdk/pwl/cpwl_edit_impl.h index 697ca84994..48b94c1057 100644 --- a/fpdfsdk/pwl/cpwl_edit_impl.h +++ b/fpdfsdk/pwl/cpwl_edit_impl.h @@ -305,7 +305,7 @@ class CPWL_EditImpl { void SetFontMap(IPVT_FontMap* pFontMap); void SetNotify(CPWL_EditCtrl* pNotify); - void SetOprNotify(CPWL_Edit* pOprNotify); + void SetOperationNotify(CPWL_Edit* pOperationNotify); // Returns an iterator for the contents. Should not be released. CPWL_EditImpl_Iterator* GetIterator(); @@ -376,7 +376,6 @@ class CPWL_EditImpl { CPVT_WordRange GetWholeWordRange() const; CPVT_WordRange GetSelectWordRange() const; void EnableUndo(bool bUndo); - void EnableOprNotify(bool bNotify); bool IsTextFull() const; bool IsTextOverflow() const; bool CanUndo() const; @@ -451,7 +450,7 @@ class CPWL_EditImpl { private: std::unique_ptr m_pVT; CFX_UnownedPtr m_pNotify; - CFX_UnownedPtr m_pOprNotify; + CFX_UnownedPtr m_pOperationNotify; std::unique_ptr m_pVTProvider; CPVT_WordPlace m_wpCaret; CPVT_WordPlace m_wpOldCaret; @@ -469,7 +468,6 @@ class CPWL_EditImpl { bool m_bEnableRefresh; CFX_FloatRect m_rcOldContent; bool m_bEnableUndo; - bool m_bOprNotify; }; class CPWL_EditImpl_Iterator { -- cgit v1.2.3