diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-04-30 21:54:13 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-30 21:54:13 +0000 |
commit | 3d3c2dea9fcb7372e195f453a5e4ec3fd47392b9 (patch) | |
tree | 443142fe49a3c509d7664b8c3a4b2901278f6066 /xfa/fgas/layout/cfx_break.cpp | |
parent | 39e7e610d8d697f05134890446caf4101539a032 (diff) | |
download | pdfium-3d3c2dea9fcb7372e195f453a5e4ec3fd47392b9.tar.xz |
Change out parameter of CFGAS_GEFont::GetCharWidth to pointer.chromium/3416
Change-Id: I1e04c7645b2238d292a6a8eb5fb5fa365fa958f5
Reviewed-on: https://pdfium-review.googlesource.com/31752
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fgas/layout/cfx_break.cpp')
-rw-r--r-- | xfa/fgas/layout/cfx_break.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fgas/layout/cfx_break.cpp b/xfa/fgas/layout/cfx_break.cpp index 0f52a2d274..b9996b3141 100644 --- a/xfa/fgas/layout/cfx_break.cpp +++ b/xfa/fgas/layout/cfx_break.cpp @@ -113,7 +113,7 @@ void CFX_Break::FontChanged() { if (!m_pFont || m_wDefChar == 0xFEFF) return; - m_pFont->GetCharWidth(m_wDefChar, m_iDefChar); + m_pFont->GetCharWidth(m_wDefChar, &m_iDefChar); m_iDefChar *= m_iFontSize; } @@ -130,7 +130,7 @@ void CFX_Break::SetDefaultChar(wchar_t wch) { if (m_wDefChar == 0xFEFF || !m_pFont) return; - m_pFont->GetCharWidth(m_wDefChar, m_iDefChar); + m_pFont->GetCharWidth(m_wDefChar, &m_iDefChar); if (m_iDefChar < 0) m_iDefChar = 0; else |