Index: core/fxcrt/include/fx_string.h |
diff --git a/core/fxcrt/include/fx_string.h b/core/fxcrt/include/fx_string.h |
index f5b431e62ccb77fa8b595d0177dece8718424b0c..75957950113c08ed0b82f83bd625c7517f78c0b4 100644 |
--- a/core/fxcrt/include/fx_string.h |
+++ b/core/fxcrt/include/fx_string.h |
@@ -508,7 +508,7 @@ class CFX_WideString { |
static CFX_WideString FromCodePage(const CFX_ByteString& str, |
uint16_t codepage); |
- static CFX_WideString FromUTF8(const char* str, FX_STRSIZE len); |
+ static CFX_WideString FromUTF8(const CFX_ByteStringC& str); |
static CFX_WideString FromUTF16LE(const unsigned short* str, FX_STRSIZE len); |
static FX_STRSIZE WStringLength(const unsigned short* str); |