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/font/cfgas_pdffontmgr.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/font/cfgas_pdffontmgr.cpp')
-rw-r--r-- | xfa/fgas/font/cfgas_pdffontmgr.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fgas/font/cfgas_pdffontmgr.cpp b/xfa/fgas/font/cfgas_pdffontmgr.cpp index af183c2f99..a860d05a5a 100644 --- a/xfa/fgas/font/cfgas_pdffontmgr.cpp +++ b/xfa/fgas/font/cfgas_pdffontmgr.cpp @@ -186,9 +186,8 @@ bool CFGAS_PDFFontMgr::PsNameMatchDRFontName(const ByteStringView& bsPsName, bool CFGAS_PDFFontMgr::GetCharWidth(const RetainPtr<CFGAS_GEFont>& pFont, wchar_t wUnicode, - bool bCharCode, int32_t* pWidth) { - if (wUnicode != 0x20 || bCharCode) + if (wUnicode != 0x20) return false; auto it = m_FDE2PDFFont.find(pFont); |