| Index: xfa/src/fgas/src/font/fx_gefont.cpp
|
| diff --git a/xfa/src/fgas/src/font/fx_gefont.cpp b/xfa/src/fgas/src/font/fx_gefont.cpp
|
| index 0da6720e2cba0119429986cf5fd5871a1487677b..12c4f0ea39631d16743e44f6098a5111542a75ca 100644
|
| --- a/xfa/src/fgas/src/font/fx_gefont.cpp
|
| +++ b/xfa/src/fgas/src/font/fx_gefont.cpp
|
| @@ -235,9 +235,8 @@ FX_BOOL CFX_GEFont::LoadFont(const FX_WCHAR* pszFontFamily,
|
| } else if (dwFlags & FXFONT_ITALIC) {
|
| csFontFamily += ",Italic";
|
| }
|
| - FX_BOOL bRet =
|
| - m_pFont->LoadSubst(csFontFamily, TRUE, dwFlags, iWeight, 0, wCodePage);
|
| - bRet = m_pFont->m_Face != NULL;
|
| + m_pFont->LoadSubst(csFontFamily, TRUE, dwFlags, iWeight, 0, wCodePage);
|
| + FX_BOOL bRet = m_pFont->m_Face != nullptr;
|
| if (bRet) {
|
| InitFont();
|
| }
|
|
|