mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #190: PageMaster crash + black bubbles instead of bubbles with correct color
This commit is contained in:
@ -1284,6 +1284,19 @@ void PDFDocumentBuilder::mergeNames(PDFObjectReference a, PDFObjectReference b)
|
||||
const PDFDictionary* aDict = getDictionaryFromObject(aObject);
|
||||
const PDFDictionary* bDict = getDictionaryFromObject(bObject);
|
||||
|
||||
PDFDictionary aDictDummy;
|
||||
PDFDictionary bDictDummy;
|
||||
|
||||
if (!aDict)
|
||||
{
|
||||
aDict = &aDictDummy;
|
||||
}
|
||||
|
||||
if (!bDict)
|
||||
{
|
||||
bDict = &bDictDummy;
|
||||
}
|
||||
|
||||
// Store keys
|
||||
std::set<QByteArray> keys;
|
||||
for (size_t i = 0; i < aDict->getCount(); ++i)
|
||||
|
Reference in New Issue
Block a user