From 575898e6251c1dbb8de0d40a5b6ce90762aa2af2 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 13 Mar 2017 10:16:05 -0400 Subject: Remove some single use interfaces Remove interfaces which are only implemented once. Change-Id: I73ceaa7bfd7ef2a630479c7eebed5e32ecb99940 Reviewed-on: https://pdfium-review.googlesource.com/2944 Commit-Queue: dsinclair Reviewed-by: Tom Sepez --- xfa/fde/cfde_txtedtengine.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xfa/fde/cfde_txtedtengine.h') diff --git a/xfa/fde/cfde_txtedtengine.h b/xfa/fde/cfde_txtedtengine.h index 6918d6305f..ee1cc1015d 100644 --- a/xfa/fde/cfde_txtedtengine.h +++ b/xfa/fde/cfde_txtedtengine.h @@ -13,6 +13,7 @@ #include "xfa/fde/ifde_txtedtengine.h" class CFDE_TxtEdtBuf; +class CFDE_TxtEdtPage; class CFDE_TxtEdtParag; class CFX_TxtBreak; class IFDE_TxtEdtDoRecord; @@ -27,7 +28,7 @@ class CFDE_TxtEdtEngine { FDE_TXTEDTPARAMS* GetEditParams(); int32_t CountPages() const; - IFDE_TxtEdtPage* GetPage(int32_t nIndex); + CFDE_TxtEdtPage* GetPage(int32_t nIndex); void SetTextByStream(const CFX_RetainPtr& pStream); void SetText(const CFX_WideString& wsText); @@ -149,7 +150,7 @@ class CFDE_TxtEdtEngine { std::unique_ptr m_pTxtBuf; std::unique_ptr m_pTextBreak; FDE_TXTEDTPARAMS m_Param; - CFX_ArrayTemplate m_PagePtrArray; + CFX_ArrayTemplate m_PagePtrArray; CFX_ArrayTemplate m_ParagPtrArray; CFX_ArrayTemplate m_SelRangePtrArr; int32_t m_nPageLineCount; -- cgit v1.2.3