diff options
Diffstat (limited to 'xfa/fgas')
-rw-r--r-- | xfa/fgas/font/cfgas_fontmgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fgas/font/cfgas_fontmgr.cpp b/xfa/fgas/font/cfgas_fontmgr.cpp index abd5aa716a..59d4563c29 100644 --- a/xfa/fgas/font/cfgas_fontmgr.cpp +++ b/xfa/fgas/font/cfgas_fontmgr.cpp @@ -492,7 +492,7 @@ bool CFGAS_FontMgr::EnumFontsFromFontMapper() { continue; WideString wsFaceName = - WideString::FromLocal(pFontMapper->GetFaceName(i).c_str()); + WideString::FromLocal(pFontMapper->GetFaceName(i).AsStringView()); RegisterFaces(pFontStream, &wsFaceName); } |