Dictionary optimalization

This commit is contained in:
Jakub Melka
2020-06-08 19:42:00 +02:00
parent 4e4bf111da
commit 958737f359
14 changed files with 188 additions and 29 deletions

View File

@ -802,7 +802,7 @@ PDFObject PDFParser::getObject()
// Second value should be a value
PDFObject object = getObject();
dictionary->addEntry(std::move(key), std::move(object));
dictionary->addEntry(PDFInplaceOrMemoryString(std::move(key)), std::move(object));
}
// Now, we should reach dictionary end. If it is not the case, then end of stream occured.