summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafał Dobrakowski <dobrakowskirafal@gmail.com>2024-03-10 22:31:43 +0100
committerGabor Kelemen <gabor.kelemen.extern@allotropia.de>2024-04-02 17:30:55 +0200
commita0c53ab43840d1c84d7d246b2cbc73c3a8862155 (patch)
treead0a8b5aa51077c813bca2163c462a57719556f0
parentaacdc24be7a256ea66d45f9ab3d275721c8bafbf (diff)
tdf#146619 Remove unused #includes from C/C++ files
the 'xmlsecurity' module was cleaned Change-Id: If8fae797ed5586888022ecb09bab690d68ae7bd9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165593 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
-rw-r--r--xmlsecurity/inc/xmlsignaturehelper.hxx1
-rw-r--r--xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx1
-rw-r--r--xmlsecurity/source/helper/xsecparser.hxx2
-rw-r--r--xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.hxx4
-rw-r--r--xmlsecurity/source/xmlsec/nss/nssinitializer.cxx1
-rw-r--r--xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx1
-rw-r--r--xmlsecurity/source/xmlsec/xmlsec_init.cxx2
7 files changed, 2 insertions, 10 deletions
diff --git a/xmlsecurity/inc/xmlsignaturehelper.hxx b/xmlsecurity/inc/xmlsignaturehelper.hxx
index 8572c73a327e..d3c5479e4b61 100644
--- a/xmlsecurity/inc/xmlsignaturehelper.hxx
+++ b/xmlsecurity/inc/xmlsignaturehelper.hxx
@@ -24,7 +24,6 @@
#include <rtl/ref.hxx>
#include <svl/sigstruct.hxx>
#include "xmlsecuritydllapi.h"
-#include "xmlsignaturehelper.hxx"
#include "xsecctl.hxx"
#include <com/sun/star/security/XCertificate.hpp>
diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
index 50621fa77797..cfe6845cee34 100644
--- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
+++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
@@ -52,7 +52,6 @@
#include <utility>
#include <vcl/weld.hxx>
#include <vcl/svapp.hxx>
-#include <unotools/configitem.hxx>
#ifdef _WIN32
#include <o3tl/char16_t2wchar_t.hxx>
diff --git a/xmlsecurity/source/helper/xsecparser.hxx b/xmlsecurity/source/helper/xsecparser.hxx
index 6279d65439e1..91e84222491e 100644
--- a/xmlsecurity/source/helper/xsecparser.hxx
+++ b/xmlsecurity/source/helper/xsecparser.hxx
@@ -20,7 +20,9 @@
#pragma once
#include <com/sun/star/lang/XInitialization.hpp>
+#include <com/sun/star/uno/Any.h>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
+#include <com/sun/star/xml/sax/XLocator.hpp>
#include <cppuhelper/implbase.hxx>
diff --git a/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.hxx b/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.hxx
index 182ba5e5af16..19f93f37bc98 100644
--- a/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.hxx
+++ b/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.hxx
@@ -21,14 +21,10 @@
#include <com/sun/star/xml/crypto/XXMLSecurityContext.hpp>
#include <com/sun/star/xml/crypto/XSEInitializer.hpp>
-#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/implbase.hxx>
-#include <libxml/tree.h>
-
class SEInitializer_MSCryptImpl : public cppu::WeakImplHelper
<
css::xml::crypto::XSEInitializer,
diff --git a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
index df0414c83df7..6bffc8ed2800 100644
--- a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
+++ b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
@@ -21,7 +21,6 @@
#include <com/sun/star/mozilla/XMozillaBootstrap.hpp>
#include <com/sun/star/xml/crypto/DigestID.hpp>
#include <com/sun/star/xml/crypto/CipherID.hpp>
-#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/lang/XMultiComponentFactory.hpp>
#include <cppuhelper/supportsservice.hxx>
diff --git a/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx b/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx
index 93ce721f0b3f..200c19b3567d 100644
--- a/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx
+++ b/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx
@@ -24,7 +24,6 @@
#include <cppuhelper/implbase.hxx>
#include <libxml/tree.h>
-#include <xsecxmlsecdllapi.h>
class XMLElementWrapper_XmlSecImpl : public cppu::WeakImplHelper
<
diff --git a/xmlsecurity/source/xmlsec/xmlsec_init.cxx b/xmlsecurity/source/xmlsec/xmlsec_init.cxx
index df09f5700aa0..84a7c9c6c368 100644
--- a/xmlsecurity/source/xmlsec/xmlsec_init.cxx
+++ b/xmlsecurity/source/xmlsec/xmlsec_init.cxx
@@ -12,8 +12,6 @@
#include <xmlsec/xmlsec_init.hxx>
#include <com/sun/star/uno/RuntimeException.hpp>
-
-#include <xmlsec/xmlsec.h>
#include <xmlsec/xmlstreamio.hxx>
#ifdef XMLSEC_CRYPTO_MSCRYPTO
#include <xmlsec/mscng/crypto.h>