diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-02-07 09:04:28 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-02-07 14:33:17 +0000 |
commit | c222907f453e8a0e6376a86f89354eedb8285854 (patch) | |
tree | 8ac6942b7fe65f7eb6dbc951a6a1f77aa9e18afc /xfa/fxfa/app/xfa_fftext.cpp | |
parent | 76da8841aef9a60c1c65c646a9f943c25861bc33 (diff) | |
download | pdfium-c222907f453e8a0e6376a86f89354eedb8285854.tar.xz |
Cleanup out params in XFA layout code.
This CL converts some of the out parameters in the XFA layout code to pointers
instead of references.
Change-Id: I6246b91b975e7bc08f8cfb040de9dfdc3c3bedee
Reviewed-on: https://pdfium-review.googlesource.com/2531
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'xfa/fxfa/app/xfa_fftext.cpp')
-rw-r--r-- | xfa/fxfa/app/xfa_fftext.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxfa/app/xfa_fftext.cpp b/xfa/fxfa/app/xfa_fftext.cpp index 0cc6651d21..b87645d8a7 100644 --- a/xfa/fxfa/app/xfa_fftext.cpp +++ b/xfa/fxfa/app/xfa_fftext.cpp @@ -86,8 +86,7 @@ bool CXFA_FFText::PerformLayout() { } pItem = pItem->GetFirst(); while (pItem) { - CFX_RectF rtText; - pItem->GetRect(rtText); + CFX_RectF rtText = pItem->GetRect(false); if (CXFA_Margin mgWidget = m_pDataAcc->GetMargin()) { if (!pItem->GetPrev()) { FX_FLOAT fTopInset; |