summaryrefslogtreecommitdiff
path: root/xfa/fgas/layout/fgas_rtfbreak.cpp
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_rtfbreak.cpp
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_rtfbreak.cpp')
-rw-r--r--xfa/fgas/layout/fgas_rtfbreak.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/xfa/fgas/layout/fgas_rtfbreak.cpp b/xfa/fgas/layout/fgas_rtfbreak.cpp
index f4faf00fca..81fbea0cc6 100644
--- a/xfa/fgas/layout/fgas_rtfbreak.cpp
+++ b/xfa/fgas/layout/fgas_rtfbreak.cpp
@@ -723,12 +723,6 @@ void CFX_RTFBreak::ClearBreakPieces() {
m_iReadyLineIndex = -1;
}
-void CFX_RTFBreak::Reset() {
- m_eCharType = FX_CHARTYPE_Unknown;
- m_Line[0].Clear();
- m_Line[1].Clear();
-}
-
int32_t CFX_RTFBreak::GetDisplayPos(const FX_RTFTEXTOBJ* pText,
FXTEXT_CHARPOS* pCharPos,
bool bCharCode) const {