vcl/inc/pdf/pdfwriter_impl.hxx     |    3 ++-
 vcl/source/gdi/pdfwriter_impl.cxx  |    2 ++
 vcl/source/gdi/pdfwriter_impl2.cxx |    1 +
 3 files changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 0ba278f21a702e79980a2db585263e673ba26cbc
Author:     Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk>
AuthorDate: Mon Nov 11 22:53:26 2024 +0100
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Thu Dec 5 11:35:03 2024 +0100

    pdf: forward declare IPDFEncryptor
    
    To compile less when changing PDFEncryptor.
    
    Change-Id: I56e19e12494488fedb929998f8e6d0ff3bf8008c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176456
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>

diff --git a/vcl/inc/pdf/pdfwriter_impl.hxx b/vcl/inc/pdf/pdfwriter_impl.hxx
index fe0052915a23..7a90b61d56cf 100644
--- a/vcl/inc/pdf/pdfwriter_impl.hxx
+++ b/vcl/inc/pdf/pdfwriter_impl.hxx
@@ -34,7 +34,6 @@
 #include <pdf/ResourceDict.hxx>
 #include <pdf/BitmapID.hxx>
 #include <pdf/Matrix3.hxx>
-#include <pdf/PDFEncryptor.hxx>
 
 #include <com/sun/star/lang/Locale.hpp>
 #include <com/sun/star/util/XURLTransformer.hpp>
@@ -668,6 +667,8 @@ struct PDFDocumentAttachedFile
     sal_Int32 mnObjectId;
 };
 
+class IPDFEncryptor;
+
 } // end pdf namespace
 
 class PDFWriterImpl final : public VirtualDevice, public PDFObjectContainer
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx 
b/vcl/source/gdi/pdfwriter_impl.cxx
index fd7aeba24787..f1e5967ee26c 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -95,6 +95,8 @@
 #include <pdf/objectcopier.hxx>
 #include <pdf/pdfwriter_impl.hxx>
 #include <pdf/PdfConfig.hxx>
+#include <pdf/IPDFEncryptor.hxx>
+#include <pdf/PDFEncryptor.hxx>
 #include <o3tl/sorted_vector.hxx>
 #include <frozen/bits/defines.h>
 #include <frozen/bits/elsa_std.h>
diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx 
b/vcl/source/gdi/pdfwriter_impl2.cxx
index 81cc21b50152..145a4f387977 100644
--- a/vcl/source/gdi/pdfwriter_impl2.cxx
+++ b/vcl/source/gdi/pdfwriter_impl2.cxx
@@ -25,6 +25,7 @@
 #include <vcl/metaact.hxx>
 #include <vcl/BitmapReadAccess.hxx>
 #include <vcl/graph.hxx>
+#include <pdf/IPDFEncryptor.hxx>
 
 #include <unotools/streamwrap.hxx>
 

Reply via email to