diff options
Diffstat (limited to 'xfa/fxfa/cxfa_textparser.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_textparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_textparser.cpp b/xfa/fxfa/cxfa_textparser.cpp index b74df3d14e..8981799d83 100644 --- a/xfa/fxfa/cxfa_textparser.cpp +++ b/xfa/fxfa/cxfa_textparser.cpp @@ -327,7 +327,7 @@ RetainPtr<CFGAS_GEFont> CXFA_TextParser::GetFont( uint32_t dwStyle = 0; CXFA_FontData fontData = pTextProvider->GetFontData(); if (fontData.HasValidNode()) { - fontData.GetTypeface(wsFamily); + wsFamily = fontData.GetTypeface(); if (fontData.IsBold()) dwStyle |= FXFONT_BOLD; if (fontData.IsItalic()) |