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 917b039c99236e0c9de9b6ecb941fd11d8c17fd8 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Mon Nov 11 22:53:26 2024 +0100 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Mon Dec 9 08:41:48 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> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177875 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/vcl/inc/pdf/pdfwriter_impl.hxx b/vcl/inc/pdf/pdfwriter_impl.hxx index 3f09038068b8..4b7b72dce4fc 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> @@ -684,6 +683,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 0570e49b6a16..91eb3a1e078c 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -96,6 +96,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 ec4adefa47c7..2f06a292c936 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>