Index: xfa/fgas/font/fgas_stdfontmgr.cpp |
diff --git a/xfa/fgas/font/fgas_stdfontmgr.cpp b/xfa/fgas/font/fgas_stdfontmgr.cpp |
index 6e707bf9cf141552a7ed9abad605b8a95c70248a..9e8c824118ee825955ed4feef75953c78af45cdc 100644 |
--- a/xfa/fgas/font/fgas_stdfontmgr.cpp |
+++ b/xfa/fgas/font/fgas_stdfontmgr.cpp |
@@ -1380,7 +1380,7 @@ void CFX_FontMgrImp::GetNames(const uint8_t* name_table, |
uint16_t nPlatformID = GetUInt16(lpNameRecord + j * 12 + 0); |
uint16_t nNameLength = GetUInt16(lpNameRecord + j * 12 + 8); |
uint16_t nNameOffset = GetUInt16(lpNameRecord + j * 12 + 10); |
- wsFamily.Empty(); |
+ wsFamily.clear(); |
if (nPlatformID != 1) { |
for (uint16_t k = 0; k < nNameLength / 2; k++) { |
FX_WCHAR wcTemp = GetUInt16(lpStr + nNameOffset + k * 2); |