mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-30 01:38:07 +00:00
less warnings when compiling with poppler 0.5.x
svn path=/trunk/playground/graphics/okular/; revision=626327
This commit is contained in:
parent
8da5b3d5b2
commit
a669609a00
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue