From 2c065322f1b14ca3ff145dc068ab2361704f9e4b Mon Sep 17 00:00:00 2001 From: thestig Date: Mon, 26 Sep 2016 14:16:43 -0700 Subject: Clean up xfa_fontmgr.cpp. Review-Url: https://codereview.chromium.org/2362063003 --- xfa/fgas/font/fgas_gefont.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'xfa/fgas/font/fgas_gefont.h') diff --git a/xfa/fgas/font/fgas_gefont.h b/xfa/fgas/font/fgas_gefont.h index 824f931d76..7f3cc60478 100644 --- a/xfa/fgas/font/fgas_gefont.h +++ b/xfa/fgas/font/fgas_gefont.h @@ -44,9 +44,7 @@ class CFGAS_GEFont { CFGAS_GEFont* Derive(uint32_t dwFontStyles, uint16_t wCodePage = 0); void GetFamilyName(CFX_WideString& wsFamily) const; uint32_t GetFontStyles() const; - FX_BOOL GetCharWidth(FX_WCHAR wUnicode, - int32_t& iWidth, - FX_BOOL bCharCode = FALSE); + FX_BOOL GetCharWidth(FX_WCHAR wUnicode, int32_t& iWidth, bool bCharCode); int32_t GetGlyphIndex(FX_WCHAR wUnicode, FX_BOOL bCharCode = FALSE); int32_t GetAscent() const; int32_t GetDescent() const; @@ -86,8 +84,8 @@ class CFGAS_GEFont { FX_BOOL bCharCode = FALSE); FX_BOOL GetCharWidthInternal(FX_WCHAR wUnicode, int32_t& iWidth, - FX_BOOL bRecursive, - FX_BOOL bCharCode = FALSE); + bool bRecursive, + bool bCharCode); int32_t GetGlyphIndex(FX_WCHAR wUnicode, FX_BOOL bRecursive, CFGAS_GEFont** ppFont, -- cgit v1.2.3