Remove unused member variable

This commit is contained in:
Jakub Melka
2025-05-01 19:17:16 +02:00
parent ec9c279052
commit 9e9b9f2157

View File

@ -39,10 +39,9 @@ class PDF4QTLIBCORESHARED_EXPORT PDFDocumentWriter
Q_DECLARE_TR_FUNCTIONS(pdf::PDFDocumentWriter) Q_DECLARE_TR_FUNCTIONS(pdf::PDFDocumentWriter)
public: public:
explicit inline PDFDocumentWriter(PDFProgress* progress) : explicit inline PDFDocumentWriter(PDFProgress* progress)
m_progress(progress)
{ {
Q_UNUSED(progress);
} }
/// Writes document to the file. If \p safeWrite is true, then document is first /// Writes document to the file. If \p safeWrite is true, then document is first
@ -81,9 +80,6 @@ private:
static void writeCRLF(QIODevice* device); static void writeCRLF(QIODevice* device);
static void writeObjectHeader(QIODevice* device, PDFObjectReference reference); static void writeObjectHeader(QIODevice* device, PDFObjectReference reference);
static void writeObjectFooter(QIODevice* device); static void writeObjectFooter(QIODevice* device);
/// Progress indicator
PDFProgress* m_progress;
}; };
} // namespace pdf } // namespace pdf