summaryrefslogtreecommitdiff
path: root/xfa/fgas/layout/fgas_textbreak.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-03-20 14:51:17 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-03-20 20:07:50 +0000
commit2a6482c19c5577924f73d100431acceb8c874e04 (patch)
treeed4fa39ebb58301bdcfb1670c5208bbdb8e1d36c /xfa/fgas/layout/fgas_textbreak.h
parent35292ad2070aa3cabdef4ea23ffaaf38e1a7de3a (diff)
downloadpdfium-2a6482c19c5577924f73d100431acceb8c874e04.tar.xz
Cleanup unchanged values in CFX_TxtBreak
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 <npm@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fgas/layout/fgas_textbreak.h')
-rw-r--r--xfa/fgas/layout/fgas_textbreak.h7
1 files changed, 1 insertions, 6 deletions
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<FX_TPO>* 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_