Commit 1157e86d authored by Pino Toscano's avatar Pino Toscano

SVN_SILENT do not issue unuseful compile warnings when using poppler <= 0.8.x

svn path=/trunk/KDE/kdegraphics/okular/; revision=852081
parent 70d9ff6c
......@@ -833,6 +833,9 @@ void PDFGenerator::requestFontData(const Okular::FontInfo &font, QByteArray *dat
#ifdef HAVE_POPPLER_0_9
Poppler::FontInfo fi = font.nativeId().value<Poppler::FontInfo>();
*data = pdfdoc->fontData(fi);
#else
Q_UNUSED( font )
Q_UNUSED( data )
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment