mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Dictionary optimalization
This commit is contained in:
@ -67,7 +67,7 @@ void PDFObjectFactory::endDictionaryItem()
|
||||
|
||||
Item& dictionaryItem = m_items.back();
|
||||
Q_ASSERT(dictionaryItem.type == ItemType::Dictionary);
|
||||
std::get<PDFDictionary>(dictionaryItem.object).addEntry(qMove(topItem.itemName), qMove(std::get<PDFObject>(topItem.object)));
|
||||
std::get<PDFDictionary>(dictionaryItem.object).addEntry(PDFInplaceOrMemoryString(qMove(topItem.itemName)), qMove(std::get<PDFObject>(topItem.object)));
|
||||
}
|
||||
|
||||
PDFObjectFactory& PDFObjectFactory::operator<<(FileAttachmentIcon icon)
|
||||
|
Reference in New Issue
Block a user