summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_font/cpdf_simplefont.h
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-09-23 16:54:50 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-23 16:54:50 -0700
commitbfe9afc2ab1d883bb036a1c3b35b429229708875 (patch)
tree75572f3a19e07ec73a7f15fb3811e78d72f3104e /core/fpdfapi/fpdf_font/cpdf_simplefont.h
parentb4d7c682bd47f12cb16a5c5c523f58ea0742c730 (diff)
downloadpdfium-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/fpdfapi/fpdf_font/cpdf_simplefont.h')
-rw-r--r--core/fpdfapi/fpdf_font/cpdf_simplefont.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/fpdf_font/cpdf_simplefont.h b/core/fpdfapi/fpdf_font/cpdf_simplefont.h
index 59eb9be012..40a4baeeb8 100644
--- a/core/fpdfapi/fpdf_font/cpdf_simplefont.h
+++ b/core/fpdfapi/fpdf_font/cpdf_simplefont.h
@@ -23,7 +23,7 @@ class CPDF_SimpleFont : public CPDF_Font {
int GetCharWidthF(uint32_t charcode, int level = 0) override;
FX_RECT GetCharBBox(uint32_t charcode, int level = 0) override;
int GlyphFromCharCode(uint32_t charcode, bool* pVertGlyph) override;
- FX_BOOL IsUnicodeCompatible() const override;
+ bool IsUnicodeCompatible() const override;
CFX_WideString UnicodeFromCharCode(uint32_t charcode) const override;
uint32_t CharCodeFromUnicode(FX_WCHAR Unicode) const override;
@@ -32,7 +32,7 @@ class CPDF_SimpleFont : public CPDF_Font {
protected:
virtual void LoadGlyphMap() = 0;
- FX_BOOL LoadCommon();
+ bool LoadCommon();
void LoadSubstFont();
void LoadCharMetrics(int charcode);