summaryrefslogtreecommitdiff
path: root/xmlsecurity/source
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-05-17 21:06:10 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-05-18 09:19:27 +0200
commit85106da5107a16b57a8b320a3b624460539368e4 (patch)
tree888f75dcd7470d42d51b8e1c29ed95ea2531dddb /xmlsecurity/source
parent69c8e9a0607e9a197dfff8139f2ca14c2538da8a (diff)
Fix some IWYU warnings
Change-Id: I11d874caad9174fb1a70121f1772e117753ee519 Reviewed-on: https://gerrit.libreoffice.org/54503 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/source')
-rw-r--r--xmlsecurity/source/helper/ooxmlsecexporter.hxx28
-rw-r--r--xmlsecurity/source/helper/pdfsignaturehelper.cxx2
2 files changed, 27 insertions, 3 deletions
diff --git a/xmlsecurity/source/helper/ooxmlsecexporter.hxx b/xmlsecurity/source/helper/ooxmlsecexporter.hxx
index 12c7c197047c..5d94da2fdb6c 100644
--- a/xmlsecurity/source/helper/ooxmlsecexporter.hxx
+++ b/xmlsecurity/source/helper/ooxmlsecexporter.hxx
@@ -12,11 +12,33 @@
#include <memory>
-#include <com/sun/star/uno/XComponentContext.hpp>
-#include <com/sun/star/embed/XStorage.hpp>
-#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include <svl/sigstruct.hxx>
+namespace com
+{
+namespace sun
+{
+namespace star
+{
+namespace embed
+{
+class XStorage;
+}
+namespace uno
+{
+class XComponentContext;
+}
+namespace xml
+{
+namespace sax
+{
+class XDocumentHandler;
+}
+}
+}
+}
+}
+
/// Writes a single OOXML digital signature.
class OOXMLSecExporter
{
diff --git a/xmlsecurity/source/helper/pdfsignaturehelper.cxx b/xmlsecurity/source/helper/pdfsignaturehelper.cxx
index 3e3e6ebdf467..a54d121d97eb 100644
--- a/xmlsecurity/source/helper/pdfsignaturehelper.cxx
+++ b/xmlsecurity/source/helper/pdfsignaturehelper.cxx
@@ -14,6 +14,8 @@
#include <com/sun/star/io/XTruncate.hpp>
#include <com/sun/star/security/CertificateValidity.hpp>
#include <com/sun/star/uno/SecurityException.hpp>
+#include <com/sun/star/security/DocumentSignatureInformation.hpp>
+#include <com/sun/star/xml/crypto/XSecurityEnvironment.hpp>
#include <tools/stream.hxx>
#include <unotools/ucbstreamhelper.hxx>