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:
@ -343,9 +343,9 @@ void PDFObjectClassifier::classify(const PDFDocument* document)
|
||||
if (const PDFDictionary* xobjectDictionary = document->getDictionaryFromObject(resourcesDictionary->get("XObject")))
|
||||
{
|
||||
const size_t count = xobjectDictionary->getCount();
|
||||
for (size_t i = 0; i < count; ++i)
|
||||
for (size_t xObjectIndex = 0; xObjectIndex < count; ++xObjectIndex)
|
||||
{
|
||||
const PDFObject& item = xobjectDictionary->getValue(i);
|
||||
const PDFObject& item = xobjectDictionary->getValue(xObjectIndex);
|
||||
if (item.isReference() && hasObject(item.getReference()))
|
||||
{
|
||||
if (const PDFDictionary* xobjectItemDictionary = document->getDictionaryFromObject(item))
|
||||
|
Reference in New Issue
Block a user