diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-06-06 21:54:47 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-06-07 09:27:46 +0200 |
commit | b3c4dbf459065ae7d6a68dd565da741ed18bd608 (patch) | |
tree | 91c343c88229e0d1445d87b60ad85a792aeb1eb3 /xmlsecurity | |
parent | 4bb893596abfcb55fb607445a64456e054944c73 (diff) |
Fix IWYU warnings
Change-Id: I0442d201a5175a9929d3ea79d79f80db7930b565
Reviewed-on: https://gerrit.libreoffice.org/55394
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/IwyuFilter_xmlsecurity.yaml | 5 | ||||
-rw-r--r-- | xmlsecurity/inc/documentsignaturemanager.hxx | 29 | ||||
-rw-r--r-- | xmlsecurity/source/helper/documentsignaturemanager.cxx | 3 |
3 files changed, 31 insertions, 6 deletions
diff --git a/xmlsecurity/IwyuFilter_xmlsecurity.yaml b/xmlsecurity/IwyuFilter_xmlsecurity.yaml new file mode 100644 index 000000000000..fd05174b9891 --- /dev/null +++ b/xmlsecurity/IwyuFilter_xmlsecurity.yaml @@ -0,0 +1,5 @@ +--- +blacklist: + xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx: + # complete type is needed + - com/sun/star/security/DocumentSignatureInformation.hpp diff --git a/xmlsecurity/inc/documentsignaturemanager.hxx b/xmlsecurity/inc/documentsignaturemanager.hxx index f88820f03803..b5c6b1b985c7 100644 --- a/xmlsecurity/inc/documentsignaturemanager.hxx +++ b/xmlsecurity/inc/documentsignaturemanager.hxx @@ -26,12 +26,33 @@ #include <svl/sigstruct.hxx> #include "xmlsignaturehelper.hxx" -#include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/embed/XStorage.hpp> -#include <com/sun/star/graphic/XGraphic.hpp> #include "documentsignaturehelper.hxx" -#include <com/sun/star/beans/PropertyValue.hpp> +namespace com +{ +namespace sun +{ +namespace star +{ +namespace beans +{ +struct PropertyValue; +} +namespace embed +{ +class XStorage; +} +namespace graphic +{ +class XGraphic; +} +namespace uno +{ +class XComponentContext; +} +} +} +} class PDFSignatureHelper; /// Manages signatures (addition, removal), used by DigitalSignaturesDialog. diff --git a/xmlsecurity/source/helper/documentsignaturemanager.cxx b/xmlsecurity/source/helper/documentsignaturemanager.cxx index c88c18964b22..2b24e03d587b 100644 --- a/xmlsecurity/source/helper/documentsignaturemanager.cxx +++ b/xmlsecurity/source/helper/documentsignaturemanager.cxx @@ -29,12 +29,11 @@ #include <com/sun/star/embed/XTransactedObject.hpp> #include <com/sun/star/xml/crypto/SEInitializer.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/graphic/XGraphic.hpp> +#include <com/sun/star/beans/PropertyValue.hpp> #include <comphelper/base64.hxx> #include <comphelper/storagehelper.hxx> #include <rtl/ustrbuf.hxx> -#include <sax/tools/converter.hxx> #include <tools/datetime.hxx> #include <o3tl/make_unique.hxx> |