From 70719432f41eedeb405f3851ad88960c74e506be Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 28 Feb 2017 14:48:51 -0500 Subject: Remove unused methods from RTFBreak and TextBreak MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This Cl removes unused methods from the RTFBreak and TextBreak classes. Change-Id: If1e7e041cfd32b3be1240ae759f73c503b9c4cad Reviewed-on: https://pdfium-review.googlesource.com/2878 Commit-Queue: dsinclair Reviewed-by: Tom Sepez Reviewed-by: Nicolás Peña --- xfa/fgas/layout/fgas_rtfbreak.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'xfa/fgas/layout/fgas_rtfbreak.h') diff --git a/xfa/fgas/layout/fgas_rtfbreak.h b/xfa/fgas/layout/fgas_rtfbreak.h index ad501fd054..be3c180513 100644 --- a/xfa/fgas/layout/fgas_rtfbreak.h +++ b/xfa/fgas/layout/fgas_rtfbreak.h @@ -183,16 +183,10 @@ class CFX_RTFBreak { void SetFontSize(FX_FLOAT fFontSize); void SetTabWidth(FX_FLOAT fTabWidth); void AddPositionedTab(FX_FLOAT fTabPos); - void SetPositionedTabs(const std::vector& tabs); - void ClearPositionedTabs(); - void SetDefaultChar(FX_WCHAR wch); - void SetLineBreakChar(FX_WCHAR wch); void SetLineBreakTolerance(FX_FLOAT fTolerance); void SetHorizontalScale(int32_t iScale); void SetVerticalScale(int32_t iScale); void SetCharSpace(FX_FLOAT fCharSpace); - void SetWordSpace(bool bDefault, FX_FLOAT fWordSpace); - void SetReadingOrder(bool bRTL = false); void SetAlignment(CFX_RTFLineAlignment align) { m_iAlignment = align; } void SetUserData(const CFX_RetainPtr& pUserData); CFX_RTFBreakType AppendChar(FX_WCHAR wch); @@ -252,9 +246,6 @@ class CFX_RTFBreak { int32_t m_iHorizontalScale; int32_t m_iVerticalScale; int32_t m_iCharSpace; - bool m_bWordSpace; - int32_t m_iWordSpace; - bool m_bRTL; CFX_RTFLineAlignment m_iAlignment; CFX_RetainPtr m_pUserData; FX_CHARTYPE m_eCharType; -- cgit v1.2.3