summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_widgetacc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/cxfa_widgetacc.cpp')
-rw-r--r--xfa/fxfa/cxfa_widgetacc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_widgetacc.cpp b/xfa/fxfa/cxfa_widgetacc.cpp
index 1f804e6ed2..5bff539366 100644
--- a/xfa/fxfa/cxfa_widgetacc.cpp
+++ b/xfa/fxfa/cxfa_widgetacc.cpp
@@ -1493,7 +1493,8 @@ RetainPtr<CFGAS_GEFont> CXFA_WidgetAcc::GetFDEFont() {
dwFontStyle |= FXFONT_BOLD;
if (fontData.IsItalic())
dwFontStyle |= FXFONT_ITALIC;
- fontData.GetTypeface(wsFontName);
+
+ wsFontName = fontData.GetTypeface();
}
auto* pDoc = GetDoc();