Index: core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp |
diff --git a/core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp b/core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp |
index 8228c497e98a8c55a548af001a10aa1bb0e0cacd..31e7388bd73c0a012355ff368e8160f03cbbf54e 100644 |
--- a/core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp |
+++ b/core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp |
@@ -88,7 +88,7 @@ int32_t GetDirectInteger(CPDF_Dictionary* pDict, const CFX_ByteStringC& key) { |
CFX_ByteString PDF_NameDecode(const CFX_ByteStringC& bstr) { |
int size = bstr.GetLength(); |
- const FX_CHAR* pSrc = bstr.GetCStr(); |
+ const FX_CHAR* pSrc = bstr.c_str(); |
if (!FXSYS_memchr(pSrc, '#', size)) { |
return bstr; |
} |