Index: core/fxcrt/fx_basic_util.cpp |
diff --git a/core/fxcrt/fx_basic_util.cpp b/core/fxcrt/fx_basic_util.cpp |
index 37918620667ff5febf68f538a57ce6f9f95560b5..229e5d5ed900aef42e6c260b7937d05049df4e03 100644 |
--- a/core/fxcrt/fx_basic_util.cpp |
+++ b/core/fxcrt/fx_basic_util.cpp |
@@ -98,7 +98,7 @@ void FX_atonum(const CFX_ByteStringC& strc, FX_BOOL& bInteger, void* pData) { |
if (!FXSYS_memchr(strc.GetPtr(), '.', strc.GetLength())) { |
bInteger = TRUE; |
int cc = 0, integer = 0; |
- const FX_CHAR* str = strc.GetCStr(); |
+ const FX_CHAR* str = strc.c_str(); |
int len = strc.GetLength(); |
FX_BOOL bNegative = FALSE; |
if (str[0] == '+') { |
@@ -129,7 +129,7 @@ FX_FLOAT FX_atof(const CFX_ByteStringC& strc) { |
} |
int cc = 0; |
FX_BOOL bNegative = FALSE; |
- const FX_CHAR* str = strc.GetCStr(); |
+ const FX_CHAR* str = strc.c_str(); |
int len = strc.GetLength(); |
if (str[0] == '+') { |
cc++; |