diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-05-02 18:50:26 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-02 18:50:26 +0000 |
commit | 510bf91c129501206555f7a335241f9b3452ea41 (patch) | |
tree | 30b92ffc37aba0b9e0f802d2ac3f14f5840b7844 /xfa/fgas/layout/cfx_txtbreak.h | |
parent | 6efab39bf6cbad3fb1b07718ab87fbb84fc4bf61 (diff) | |
download | pdfium-510bf91c129501206555f7a335241f9b3452ea41.tar.xz |
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 <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fgas/layout/cfx_txtbreak.h')
-rw-r--r-- | xfa/fgas/layout/cfx_txtbreak.h | 10 |
1 files changed, 5 insertions, 5 deletions
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<CFX_RectF> 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<CFX_Char>& 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; |