summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-02-28 14:48:51 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-02-28 20:37:58 +0000
commit70719432f41eedeb405f3851ad88960c74e506be (patch)
treea85f4cb5ebb3be81a36411896c85a352c23d9d83 /xfa/fxfa/app
parentd2ee0f309037e3f4e8384b616a2a615e7ee8d6ee (diff)
downloadpdfium-70719432f41eedeb405f3851ad88960c74e506be.tar.xz
Remove unused methods from RTFBreak and TextBreak
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 <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'xfa/fxfa/app')
-rw-r--r--xfa/fxfa/app/cxfa_textlayout.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/xfa/fxfa/app/cxfa_textlayout.cpp b/xfa/fxfa/app/cxfa_textlayout.cpp
index 9b7e2455a6..9735dc7b13 100644
--- a/xfa/fxfa/app/cxfa_textlayout.cpp
+++ b/xfa/fxfa/app/cxfa_textlayout.cpp
@@ -95,7 +95,6 @@ CFX_RTFBreak* CXFA_TextLayout::CreateBreak(bool bDefault) {
dwStyle |= FX_RTFLAYOUTSTYLE_Pagination;
CFX_RTFBreak* pBreak = new CFX_RTFBreak(dwStyle);
- pBreak->SetLineBreakChar(L'\n');
pBreak->SetLineBreakTolerance(1);
pBreak->SetFont(m_textParser.GetFont(m_pTextProvider, nullptr));
pBreak->SetFontSize(m_textParser.GetFontSize(m_pTextProvider, nullptr));