summaryrefslogtreecommitdiff
path: root/core/include
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-10-02 10:29:50 -0700
committerLei Zhang <thestig@chromium.org>2015-10-02 10:29:50 -0700
commitdcfa0ba2928072c962fe8835d1a2ccd309eafbbd (patch)
tree114f50642abd278f31ff677b8c30357933fa01d6 /core/include
parent095a83c59120c108d9ac6f0ab71fd3faa5eea810 (diff)
downloadpdfium-dcfa0ba2928072c962fe8835d1a2ccd309eafbbd.tar.xz
Turn a couple functions that always return true to return void.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1386463003 .
Diffstat (limited to 'core/include')
-rw-r--r--core/include/fxge/fx_font.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/core/include/fxge/fx_font.h b/core/include/fxge/fx_font.h
index b38b1a1713..8f6db1eb8b 100644
--- a/core/include/fxge/fx_font.h
+++ b/core/include/fxge/fx_font.h
@@ -60,13 +60,13 @@ class CFX_Font {
CFX_Font();
~CFX_Font();
- FX_BOOL LoadSubst(const CFX_ByteString& face_name,
- FX_BOOL bTrueType,
- FX_DWORD flags,
- int weight,
- int italic_angle,
- int CharsetCP,
- FX_BOOL bVertical = FALSE);
+ void LoadSubst(const CFX_ByteString& face_name,
+ FX_BOOL bTrueType,
+ FX_DWORD flags,
+ int weight,
+ int italic_angle,
+ int CharsetCP,
+ FX_BOOL bVertical = FALSE);
FX_BOOL LoadEmbedded(const uint8_t* data, FX_DWORD size);
FXFT_Face GetFace() const { return m_Face; }
const CFX_SubstFont* GetSubstFont() const { return m_pSubstFont; }