Index: xfa/fgas/font/fgas_stdfontmgr.cpp |
diff --git a/xfa/fgas/font/fgas_stdfontmgr.cpp b/xfa/fgas/font/fgas_stdfontmgr.cpp |
index 89087aacf8df2811d9bce2c9184f0e1b624ab48f..6e707bf9cf141552a7ed9abad605b8a95c70248a 100644 |
--- a/xfa/fgas/font/fgas_stdfontmgr.cpp |
+++ b/xfa/fgas/font/fgas_stdfontmgr.cpp |
@@ -1504,7 +1504,7 @@ void CFX_FontMgrImp::GetUSBCSB(FXFT_Face pFace, uint32_t* USB, uint32_t* CSB) { |
} |
int32_t CFX_FontMgrImp::IsPartName(const CFX_WideString& Name1, |
const CFX_WideString& Name2) { |
- if (Name1.Find((const FX_WCHAR*)Name2) != -1) { |
+ if (Name1.Find(Name2.c_str()) != -1) { |
return 1; |
} |
return 0; |