1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 19:57:45 +00:00

LibPDF: Extract reference bitpacking into dedicated class

This commit is contained in:
Ben Wiederhake 2021-09-18 17:15:14 +02:00 committed by Ali Mohammad Pur
parent da170997d5
commit d344253b08
3 changed files with 52 additions and 16 deletions

View file

@ -660,7 +660,7 @@ Value Parser::parse_possible_indirect_value_or_ref()
m_reader.discard();
consume();
consume_whitespace();
return Value(first_number.as_int(), second_number.as_int());
return Value(Reference(first_number.as_int(), second_number.as_int()));
}
if (m_reader.matches("obj")) {