summaryrefslogtreecommitdiff
path: root/xfa/fgas/layout/cfx_rtfbreak.h
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2018-05-02 18:50:26 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-02 18:50:26 +0000
commit510bf91c129501206555f7a335241f9b3452ea41 (patch)
tree30b92ffc37aba0b9e0f802d2ac3f14f5840b7844 /xfa/fgas/layout/cfx_rtfbreak.h
parent6efab39bf6cbad3fb1b07718ab87fbb84fc4bf61 (diff)
downloadpdfium-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_rtfbreak.h')
-rw-r--r--xfa/fgas/layout/cfx_rtfbreak.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fgas/layout/cfx_rtfbreak.h b/xfa/fgas/layout/cfx_rtfbreak.h
index 67052d23ad..3f302ca7a8 100644
--- a/xfa/fgas/layout/cfx_rtfbreak.h
+++ b/xfa/fgas/layout/cfx_rtfbreak.h
@@ -75,9 +75,9 @@ class CFX_RTFBreak : public CFX_Break {
bool GetPositionedTab(int32_t* iTabPos) const;
int32_t GetBreakPos(std::vector<CFX_Char>& tca,
- int32_t& iEndPos,
bool bAllChars,
- bool bOnlyBrk);
+ bool bOnlyBrk,
+ int32_t* pEndPos);
void SplitTextLine(CFX_BreakLine* pCurLine,
CFX_BreakLine* pNextLine,
bool bAllChars);