From 1f04871ad7312eb3f2df91b39a5c8d698d9b07d8 Mon Sep 17 00:00:00 2001 From: ZackaryWelch Date: Fri, 6 Apr 2018 13:51:40 -0400 Subject: Muted unused variable warnings in the Poppler backend --- src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src-qt5/desktop-utils/lumina-pdf') diff --git a/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp b/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp index f6d0734d..52412871 100644 --- a/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp +++ b/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp @@ -191,16 +191,19 @@ TextData* Renderer::linkList(int pageNum, int entry) { } QList Renderer::annotList(int pageNum, int entry) { + Q_UNUSED(pageNum) + Q_UNUSED(entry) return QList() << QString() << QString(); } -int Renderer::linkSize(int pageNum) { return linkHash[pageNum].size(); } +int Renderer::linkSize(int pageNum) { Q_UNUSED(pageNum) return linkHash[pageNum].size(); } -int Renderer::annotSize(int pageNum) { return 0; } +int Renderer::annotSize(int pageNum) { Q_UNUSED(pageNum) return 0; } -QRectF Renderer::annotLoc(int pageNum, int entry) { return QRectF(); } +QRectF Renderer::annotLoc(int pageNum, int entry) { Q_UNUSED(pageNum) Q_UNUSED(entry) return QRectF(); } bool Renderer::isExternalLink(int pageNum, QString text) { + Q_UNUSED(pageNum) Poppler::Link* trueLink; foreach(QList linkArray, linkHash) { for(int i = 0; i < linkArray.size(); i++) { -- cgit