mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #22: Fix compilation warnings
This commit is contained in:
@ -577,11 +577,11 @@ PDFStructureTree PDFStructureTree::parse(const PDFObjectStorage* storage, PDFObj
|
||||
if (dereferencedObject.isArray())
|
||||
{
|
||||
std::vector<PDFObjectReference> references;
|
||||
for (const PDFObject& object : *dereferencedObject.getArray())
|
||||
for (const PDFObject& objectInArray : *dereferencedObject.getArray())
|
||||
{
|
||||
if (object.isReference())
|
||||
if (objectInArray.isReference())
|
||||
{
|
||||
references.emplace_back(object.getReference());
|
||||
references.emplace_back(objectInArray.getReference());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user