From 2a6482c19c5577924f73d100431acceb8c874e04 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 20 Mar 2017 14:51:17 -0400 Subject: Cleanup unchanged values in CFX_TxtBreak MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This Cl cleans up some members which are always the same value. Change-Id: Ic3feeb5cd8c8a8c3de5a7d6ec3628d32efc600ef Reviewed-on: https://pdfium-review.googlesource.com/3107 Reviewed-by: Nicolás Peña Commit-Queue: dsinclair --- xfa/fgas/layout/fgas_textbreak.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'xfa/fgas/layout/fgas_textbreak.h') diff --git a/xfa/fgas/layout/fgas_textbreak.h b/xfa/fgas/layout/fgas_textbreak.h index 0fe4268a0f..439a7ee15b 100644 --- a/xfa/fgas/layout/fgas_textbreak.h +++ b/xfa/fgas/layout/fgas_textbreak.h @@ -67,7 +67,7 @@ class CFX_TxtBreak : public CFX_Break { int32_t CountBreakPieces() const; const CFX_BreakPiece* GetBreakPiece(int32_t index) const; void ClearBreakPieces(); - void Reset(); + int32_t GetDisplayPos(const FX_TXTRUN* pTxtRun, FXTEXT_CHARPOS* pCharPos, bool bCharCode = false, @@ -88,7 +88,6 @@ class CFX_TxtBreak : public CFX_Break { CFX_Char* GetLastChar(int32_t index, bool bOmitChar = true) const; bool HasTxtLine() const { return m_iReadyLineIndex >= 0; } FX_CHARTYPE GetUnifiedCharType(FX_CHARTYPE dwType) const; - void ResetArabicContext() override; void ResetContextCharStyles(); bool EndBreak_SplitLine(CFX_BreakLine* pNextLine, bool bAllChars); void EndBreak_BidiLine(std::deque* tpos, CFX_BreakType dwStatus); @@ -103,12 +102,8 @@ class CFX_TxtBreak : public CFX_Break { CFX_BreakLine* pNextLine, bool bAllChars = false); - int32_t m_iArabicContext; - int32_t m_iCurArabicContext; int32_t m_iAlignment; - uint32_t m_dwContextCharStyles; int32_t m_iCombWidth; - int32_t m_iCurAlignment; }; #endif // XFA_FGAS_LAYOUT_FGAS_TEXTBREAK_H_ -- cgit v1.2.3