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/fxfa/app/cxfa_textlayout.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'xfa/fxfa') 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)); -- cgit v1.2.3