less warnings when compiling with poppler 0.5.x

svn path=/trunk/playground/graphics/okular/; revision=626327
This commit is contained in:
Pino Toscano 2007-01-22 20:59:15 +00:00
parent 8da5b3d5b2
commit a669609a00

View file

@ -277,6 +277,8 @@ bool PDFGenerator::loadDocumentFromData( const QByteArray & fileData, QVector<Ok
pdfdoc = Poppler::Document::loadFromData( fileData, 0, 0 );
return init(pagesVector, QString());
#else
Q_UNUSED(fileData)
Q_UNUSED(pagesVector)
return false;
#endif
}