Index: core/fxge/ge/fx_ge_fontmap.cpp |
diff --git a/core/fxge/ge/fx_ge_fontmap.cpp b/core/fxge/ge/fx_ge_fontmap.cpp |
index 194f91034d18a4fb2b14e208b192417f95d751ab..85246600430d6c0e93cca7260605c360a74d49cb 100644 |
--- a/core/fxge/ge/fx_ge_fontmap.cpp |
+++ b/core/fxge/ge/fx_ge_fontmap.cpp |
@@ -317,7 +317,7 @@ CFX_ByteString GetFontFamily(CFX_ByteString fontName, int nStyle) { |
CFX_ByteString ParseStyle(const FX_CHAR* pStyle, int iLen, int iIndex) { |
CFX_ByteTextBuf buf; |
if (!iLen || iLen <= iIndex) { |
- return buf.GetByteString(); |
+ return buf.AsStringC(); |
} |
while (iIndex < iLen) { |
if (pStyle[iIndex] == ',') { |
@@ -326,7 +326,7 @@ CFX_ByteString ParseStyle(const FX_CHAR* pStyle, int iLen, int iIndex) { |
buf.AppendChar(pStyle[iIndex]); |
++iIndex; |
} |
- return buf.GetByteString(); |
+ return buf.AsStringC(); |
} |
int32_t GetStyleType(const CFX_ByteString& bsStyle, FX_BOOL bRevert) { |