diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-09-28 11:32:17 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-28 15:45:58 +0000 |
commit | 1ca7173cd85adcd58766fc89f95c3dc163efa17a (patch) | |
tree | effbc52dd5ec7327a2c945ad39cfd3c44f07c8c1 /xfa/fgas/layout/cfx_break.cpp | |
parent | 9c392c82abee05ac2fd42e69984e2de8e48b797a (diff) | |
download | pdfium-1ca7173cd85adcd58766fc89f95c3dc163efa17a.tar.xz |
Cleanup CFGAS_GEFont methods
Remove unused params, cleanup return values.
Change-Id: I9a1bc400e24cdcac982a578242ff0f9de8055775
Reviewed-on: https://pdfium-review.googlesource.com/15070
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: 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 5c5569ad44..6e1103cf65 100644 --- a/xfa/fgas/layout/cfx_break.cpp +++ b/xfa/fgas/layout/cfx_break.cpp @@ -112,7 +112,7 @@ void CFX_Break::FontChanged() { if (!m_pFont || m_wDefChar == 0xFEFF) return; - m_pFont->GetCharWidth(m_wDefChar, m_iDefChar, false); + m_pFont->GetCharWidth(m_wDefChar, m_iDefChar); m_iDefChar *= m_iFontSize; } @@ -129,7 +129,7 @@ void CFX_Break::SetDefaultChar(wchar_t wch) { if (m_wDefChar == 0xFEFF || !m_pFont) return; - m_pFont->GetCharWidth(m_wDefChar, m_iDefChar, false); + m_pFont->GetCharWidth(m_wDefChar, m_iDefChar); if (m_iDefChar < 0) m_iDefChar = 0; else |