diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-01-03 21:06:56 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-01-04 15:51:39 +0100 |
commit | 67e1e2ee40dba196f706afb43d0379b29c3c0f42 (patch) | |
tree | b7de03d03bd9634b935dd265b4f4b043b50d533f /xmlsecurity/inc | |
parent | f042128907598e5f82e759a175b564a68edfb490 (diff) |
tdf#42949 Fix some more Include What You Use warnings
Change-Id: I2040315707674dc99a37aedb96ac61dca274c13a
Reviewed-on: https://gerrit.libreoffice.org/47348
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'xmlsecurity/inc')
-rw-r--r-- | xmlsecurity/inc/documentsignaturemanager.hxx | 3 | ||||
-rw-r--r-- | xmlsecurity/inc/pdfio/pdfdocument.hxx | 12 | ||||
-rw-r--r-- | xmlsecurity/inc/pdfsignaturehelper.hxx | 4 |
3 files changed, 11 insertions, 8 deletions
diff --git a/xmlsecurity/inc/documentsignaturemanager.hxx b/xmlsecurity/inc/documentsignaturemanager.hxx index 50f683a35850..3abe91a727b2 100644 --- a/xmlsecurity/inc/documentsignaturemanager.hxx +++ b/xmlsecurity/inc/documentsignaturemanager.hxx @@ -26,12 +26,13 @@ #include <svl/sigstruct.hxx> #include "xmlsignaturehelper.hxx" -#include "pdfsignaturehelper.hxx" #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/embed/XStorage.hpp> #include "documentsignaturehelper.hxx" #include <com/sun/star/beans/PropertyValue.hpp> +class PDFSignatureHelper; + /// Manages signatures (addition, removal), used by DigitalSignaturesDialog. class XMLSECURITY_DLLPUBLIC DocumentSignatureManager { diff --git a/xmlsecurity/inc/pdfio/pdfdocument.hxx b/xmlsecurity/inc/pdfio/pdfdocument.hxx index 622bc1ffb678..bafff6894040 100644 --- a/xmlsecurity/inc/pdfio/pdfdocument.hxx +++ b/xmlsecurity/inc/pdfio/pdfdocument.hxx @@ -11,13 +11,17 @@ #ifndef INCLUDED_XMLSECURITY_INC_PDFIO_PDFDOCUMENT_HXX #define INCLUDED_XMLSECURITY_INC_PDFIO_PDFDOCUMENT_HXX -#include <vcl/filter/pdfdocument.hxx> - -#include <tools/stream.hxx> - #include <xmlsecuritydllapi.h> +namespace vcl +{ +namespace filter +{ +class PDFObjectElement; +} +} struct SignatureInformation; +class SvStream; namespace xmlsecurity { diff --git a/xmlsecurity/inc/pdfsignaturehelper.hxx b/xmlsecurity/inc/pdfsignaturehelper.hxx index 95df24c1abc1..2997a333d9a7 100644 --- a/xmlsecurity/inc/pdfsignaturehelper.hxx +++ b/xmlsecurity/inc/pdfsignaturehelper.hxx @@ -15,9 +15,7 @@ #include <com/sun/star/io/XInputStream.hpp> #include <com/sun/star/security/DocumentSignatureInformation.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/xml/crypto/XSEInitializer.hpp> -#include <com/sun/star/xml/crypto/XXMLSecurityContext.hpp> +#include <com/sun/star/xml/crypto/XSecurityEnvironment.hpp> #include <svl/sigstruct.hxx> |