diff options
Diffstat (limited to 'core/src/fpdfapi')
-rw-r--r-- | core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp index 4ce196e90d..2aea614226 100644 --- a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp +++ b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp @@ -925,17 +925,10 @@ FX_BOOL CPDF_Parser::RebuildCrossRef() { } break; case 11: - if (byte == '<' && inside_index == 1) { - status = 12; - } else if (byte == '>') { + if (byte == '>' || (byte == '<' && inside_index == 1)) status = 0; - } inside_index = 0; break; - case 12: - --i; - status = 0; - break; case 13: if (PDFCharIsDelimiter(byte) || PDFCharIsWhitespace(byte)) { --i; |