From 9e9b9f2157a3ccfd280cd4be2ad6fc0ab47526cc Mon Sep 17 00:00:00 2001 From: Jakub Melka Date: Thu, 1 May 2025 19:17:16 +0200 Subject: [PATCH] Remove unused member variable --- Pdf4QtLibCore/sources/pdfdocumentwriter.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Pdf4QtLibCore/sources/pdfdocumentwriter.h b/Pdf4QtLibCore/sources/pdfdocumentwriter.h index 924b9cc..29c673d 100644 --- a/Pdf4QtLibCore/sources/pdfdocumentwriter.h +++ b/Pdf4QtLibCore/sources/pdfdocumentwriter.h @@ -39,10 +39,9 @@ class PDF4QTLIBCORESHARED_EXPORT PDFDocumentWriter Q_DECLARE_TR_FUNCTIONS(pdf::PDFDocumentWriter) public: - explicit inline PDFDocumentWriter(PDFProgress* progress) : - m_progress(progress) + explicit inline PDFDocumentWriter(PDFProgress* progress) { - + Q_UNUSED(progress); } /// 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 writeObjectHeader(QIODevice* device, PDFObjectReference reference); static void writeObjectFooter(QIODevice* device); - - /// Progress indicator - PDFProgress* m_progress; }; } // namespace pdf