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

@ -145,7 +145,7 @@ void PDFWriteObjectVisitor::visitDictionary(const PDFDictionary* dictionary)
for (size_t i = 0, count = dictionary->getCount(); i < count; ++i)
{
writeName(dictionary->getKey(i));
writeName(dictionary->getKey(i).getString());
dictionary->getValue(i).accept(this);
}