summaryrefslogtreecommitdiff
path: root/xfa/fgas
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 /xfa/fgas
parentb4d7c682bd47f12cb16a5c5c523f58ea0742c730 (diff)
downloadpdfium-chromium/2872.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 'xfa/fgas')
-rw-r--r--xfa/fgas/font/fgas_gefont.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fgas/font/fgas_gefont.cpp b/xfa/fgas/font/fgas_gefont.cpp
index e386a0f208..8233705342 100644
--- a/xfa/fgas/font/fgas_gefont.cpp
+++ b/xfa/fgas/font/fgas_gefont.cpp
@@ -196,7 +196,7 @@ FX_BOOL CFGAS_GEFont::LoadFontInternal(const FX_WCHAR* pszFontFamily,
} else if (dwFlags & FXFONT_ITALIC) {
csFontFamily += ",Italic";
}
- m_pFont->LoadSubst(csFontFamily, TRUE, dwFlags, iWeight, 0, wCodePage);
+ m_pFont->LoadSubst(csFontFamily, TRUE, dwFlags, iWeight, 0, wCodePage, false);
if (!m_pFont->GetFace())
return false;
return InitFont();