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 <vmiklos@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177875
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
This commit is contained in:
Tomaž Vajngerl 2024-11-11 22:53:26 +01:00 committed by Tomaž Vajngerl
parent 9b6be690a2
commit 917b039c99
3 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -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>

View file

@ -25,6 +25,7 @@
#include <vcl/metaact.hxx>
#include <vcl/BitmapReadAccess.hxx>
#include <vcl/graph.hxx>
#include <pdf/IPDFEncryptor.hxx>
#include <unotools/streamwrap.hxx>