| Index: core/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp
|
| diff --git a/core/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp b/core/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp
|
| index 5c3398d50a9784db60f962eff28837125ebfb3c8..889b58e9282aa340a213d6428a439f925a41fe17 100644
|
| --- a/core/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp
|
| +++ b/core/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp
|
| @@ -218,7 +218,7 @@ CFX_ByteString CPDF_SyntaxParser::ReadString() {
|
| case 0:
|
| if (ch == ')') {
|
| if (parlevel == 0) {
|
| - return buf.GetByteString();
|
| + return buf.AsStringC();
|
| }
|
| parlevel--;
|
| buf.AppendChar(')');
|
| @@ -291,7 +291,7 @@ CFX_ByteString CPDF_SyntaxParser::ReadString() {
|
| }
|
|
|
| GetNextChar(ch);
|
| - return buf.GetByteString();
|
| + return buf.AsStringC();
|
| }
|
|
|
| CFX_ByteString CPDF_SyntaxParser::ReadHexString() {
|
| @@ -323,7 +323,7 @@ CFX_ByteString CPDF_SyntaxParser::ReadHexString() {
|
| if (!bFirst)
|
| buf.AppendByte(code);
|
|
|
| - return buf.GetByteString();
|
| + return buf.AsStringC();
|
| }
|
|
|
| void CPDF_SyntaxParser::ToNextLine() {
|
|
|