diff options
author | npm <npm@chromium.org> | 2016-09-23 16:54:50 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-23 16:54:50 -0700 |
commit | bfe9afc2ab1d883bb036a1c3b35b429229708875 (patch) | |
tree | 75572f3a19e07ec73a7f15fb3811e78d72f3104e /core/fxge/include/fx_font.h | |
parent | b4d7c682bd47f12cb16a5c5c523f58ea0742c730 (diff) | |
download | pdfium-bfe9afc2ab1d883bb036a1c3b35b429229708875.tar.xz |
Remove FX_BOOL from cpdf_fontchromium/2872chromium/2871chromium/2870
In all cases, bool can be used instead without problems.
Review-Url: https://codereview.chromium.org/2368693002
Diffstat (limited to 'core/fxge/include/fx_font.h')
-rw-r--r-- | core/fxge/include/fx_font.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/fxge/include/fx_font.h b/core/fxge/include/fx_font.h index 58d12bbb2a..5a83130551 100644 --- a/core/fxge/include/fx_font.h +++ b/core/fxge/include/fx_font.h @@ -103,7 +103,7 @@ class CFX_Font { int weight, int italic_angle, int CharsetCP, - FX_BOOL bVertical = FALSE); + bool bVertical); FX_BOOL LoadEmbedded(const uint8_t* data, uint32_t size); FXFT_Face GetFace() const { return m_Face; } @@ -140,11 +140,11 @@ class CFX_Font { bool IsItalic() const; bool IsBold() const; bool IsFixedWidth() const; - FX_BOOL IsVertical() const { return m_bVertical; } + bool IsVertical() const { return m_bVertical; } CFX_ByteString GetPsName() const; CFX_ByteString GetFamilyName() const; CFX_ByteString GetFaceName() const; - FX_BOOL IsTTFont() const; + bool IsTTFont() const; FX_BOOL GetBBox(FX_RECT& bbox); int GetHeight() const; int GetULPos() const; @@ -198,8 +198,8 @@ class CFX_Font { #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ void* m_pPlatformFont; #endif - FX_BOOL m_bEmbedded; - FX_BOOL m_bVertical; + bool m_bEmbedded; + bool m_bVertical; }; class CFX_FontFaceInfo { |