From 510bf91c129501206555f7a335241f9b3452ea41 Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Wed, 2 May 2018 18:50:26 +0000 Subject: Transform in/out params from ref to pointer in CFX_(Txt|RTF)Break. Remove some default parameters while we're at it. Change-Id: Ifa51f580d9773ca9cf8d08016361a0283b2d4794 Reviewed-on: https://pdfium-review.googlesource.com/31953 Commit-Queue: Ryan Harrison Reviewed-by: Ryan Harrison --- xfa/fgas/layout/cfx_txtbreak.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'xfa/fgas/layout/cfx_txtbreak.h') diff --git a/xfa/fgas/layout/cfx_txtbreak.h b/xfa/fgas/layout/cfx_txtbreak.h index a0e034280b..250f5820b1 100644 --- a/xfa/fgas/layout/cfx_txtbreak.h +++ b/xfa/fgas/layout/cfx_txtbreak.h @@ -67,7 +67,7 @@ class CFX_TxtBreak : public CFX_Break { int32_t GetDisplayPos(const FX_TXTRUN* pTxtRun, FXTEXT_CHARPOS* pCharPos) const; std::vector GetCharRects(const FX_TXTRUN* pTxtRun, - bool bCharBBox = false) const; + bool bCharBBox) const; CFX_BreakType AppendChar(wchar_t wch); private: @@ -84,12 +84,12 @@ class CFX_TxtBreak : public CFX_Break { bool bAllChars, CFX_BreakType dwStatus); int32_t GetBreakPos(std::vector& ca, - int32_t& iEndPos, - bool bAllChars = false, - bool bOnlyBrk = false); + bool bAllChars, + bool bOnlyBrk, + int32_t* pEndPos); void SplitTextLine(CFX_BreakLine* pCurLine, CFX_BreakLine* pNextLine, - bool bAllChars = false); + bool bAllChars); int32_t m_iAlignment; int32_t m_iCombWidth; -- cgit v1.2.3