summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2019-02-15 12:49:21 +0100
committerMichal Klocek <michal.klocek@qt.io>2019-02-19 10:31:33 +0000
commit876c6faff754ae55b17eb0343ab0533502f0575c (patch)
tree7e0cc97ee1c0f8299a7da1500e821ada053788dd
parent5cc2c30d27160f1fff2ece7c70f593bc0b6e3536 (diff)
Minor. Remove unused m_index from pdfium_document_wrapper_qt.cpp
Fixes clang warning. Change-Id: Ib9851cabe7d578d5dd2abc2aa54891821aeeb38d Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
-rw-r--r--src/core/printing/pdfium_document_wrapper_qt.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/printing/pdfium_document_wrapper_qt.cpp b/src/core/printing/pdfium_document_wrapper_qt.cpp
index 6ee3af6f8..6dbdf64ef 100644
--- a/src/core/printing/pdfium_document_wrapper_qt.cpp
+++ b/src/core/printing/pdfium_document_wrapper_qt.cpp
@@ -54,7 +54,6 @@ public:
: m_pageData(FPDF_LoadPage(data, pageIndex))
, m_width(FPDF_GetPageWidth(m_pageData))
, m_height(FPDF_GetPageHeight(m_pageData))
- , m_index(pageIndex)
, m_image(createImage(targetWidth, targetHeight))
{
}
@@ -63,7 +62,6 @@ public:
: m_pageData(nullptr)
, m_width(-1)
, m_height(-1)
- , m_index(-1)
, m_image(QImage())
{
}
@@ -109,7 +107,6 @@ private:
FPDF_PAGE m_pageData;
int m_width;
int m_height;
- int m_index;
QImage m_image;
};