aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZackaryWelch <welch.zackary@gmail.com>2018-04-06 13:51:40 -0400
committerZackaryWelch <welch.zackary@gmail.com>2018-04-06 13:51:40 -0400
commit1f04871ad7312eb3f2df91b39a5c8d698d9b07d8 (patch)
tree2c78cab3f91245eb47e168291c6c1ada926540e8
parentRemoved dangling code (diff)
downloadlumina-1f04871ad7312eb3f2df91b39a5c8d698d9b07d8.tar.gz
lumina-1f04871ad7312eb3f2df91b39a5c8d698d9b07d8.tar.bz2
lumina-1f04871ad7312eb3f2df91b39a5c8d698d9b07d8.zip
Muted unused variable warnings in the Poppler backend
-rw-r--r--src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp9
1 files changed, 6 insertions, 3 deletions
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<QString> Renderer::annotList(int pageNum, int entry) {
+ Q_UNUSED(pageNum)
+ Q_UNUSED(entry)
return QList<QString>() << 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<Link*> linkArray, linkHash) {
for(int i = 0; i < linkArray.size(); i++) {
bgstack15