| Index: core/fpdfapi/fpdf_font/fpdf_font.cpp
|
| diff --git a/core/fpdfapi/fpdf_font/fpdf_font.cpp b/core/fpdfapi/fpdf_font/fpdf_font.cpp
|
| index aff2b7296020bcc92a9e2f819b0a36df8f66f18c..9670aa8e7f895e7e40fdb76e65aaffd22917ab22 100644
|
| --- a/core/fpdfapi/fpdf_font/fpdf_font.cpp
|
| +++ b/core/fpdfapi/fpdf_font/fpdf_font.cpp
|
| @@ -131,7 +131,7 @@ uint32_t CPDF_ToUnicodeMap::ReverseLookup(FX_WCHAR unicode) {
|
|
|
| // Static.
|
| uint32_t CPDF_ToUnicodeMap::StringToCode(const CFX_ByteStringC& str) {
|
| - const FX_CHAR* buf = str.GetCStr();
|
| + const FX_CHAR* buf = str.c_str();
|
| int len = str.GetLength();
|
| if (len == 0)
|
| return 0;
|
| @@ -171,7 +171,7 @@ static CFX_WideString StringDataAdd(CFX_WideString str) {
|
| // Static.
|
| CFX_WideString CPDF_ToUnicodeMap::StringToWideString(
|
| const CFX_ByteStringC& str) {
|
| - const FX_CHAR* buf = str.GetCStr();
|
| + const FX_CHAR* buf = str.c_str();
|
| int len = str.GetLength();
|
| if (len == 0)
|
| return CFX_WideString();
|
|
|