writerperfect/source/writer/exp/XMLTextFrameContext.hxx | 2 -- writerperfect/source/writer/exp/xmlimp.hxx | 2 -- xmlhelp/source/cxxhelp/provider/content.hxx | 1 - xmlhelp/source/cxxhelp/provider/databases.hxx | 1 - xmlscript/source/xmldlg_imexp/imp_share.hxx | 2 -- xmlsecurity/inc/digitalsignaturesdialog.hxx | 3 --- xmlsecurity/inc/framework/signaturecreatorimpl.hxx | 1 - xmlsecurity/inc/framework/signatureverifierimpl.hxx | 1 - xmlsecurity/inc/gpg/SEInitializer.hxx | 2 -- xmlsecurity/inc/gpg/xmlsignature_gpgimpl.hxx | 2 -- xmlsecurity/inc/pdfsignaturehelper.hxx | 4 ---- xmlsecurity/inc/xsecctl.hxx | 1 - xmlsecurity/source/gpg/XMLEncryption.hxx | 3 --- xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx | 1 - xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.hxx | 2 -- 15 files changed, 28 deletions(-)
New commits: commit b52384de6f09f124fef9405ccf273c0f5c3339d1 Author: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> AuthorDate: Thu Apr 10 16:12:26 2025 +0200 Commit: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> CommitDate: Tue May 20 12:20:47 2025 +0200 Remove obsolete fw declarations from writerperfect/ xml{help,script,security} found with bin/find-unneeded-includes --fwdecl Change-Id: Ib5cfbeea3a5811f770dc82d31000e88ec0ea19d8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184009 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> diff --git a/writerperfect/source/writer/exp/XMLTextFrameContext.hxx b/writerperfect/source/writer/exp/XMLTextFrameContext.hxx index 9c58849e602a..fb9bc6725fec 100644 --- a/writerperfect/source/writer/exp/XMLTextFrameContext.hxx +++ b/writerperfect/source/writer/exp/XMLTextFrameContext.hxx @@ -15,8 +15,6 @@ namespace writerperfect::exp { -class XMLBase64ImportContext; - /// Handler for <draw:frame>. class XMLTextFrameContext : public XMLImportContext { diff --git a/writerperfect/source/writer/exp/xmlimp.hxx b/writerperfect/source/writer/exp/xmlimp.hxx index fd2882371e76..f0331925cdd0 100644 --- a/writerperfect/source/writer/exp/xmlimp.hxx +++ b/writerperfect/source/writer/exp/xmlimp.hxx @@ -41,8 +41,6 @@ class XUriReferenceFactory; namespace writerperfect::exp { -class XMLImportContext; - /// Contains info about a fixed-layout page. struct FixedLayoutPage { diff --git a/xmlhelp/source/cxxhelp/provider/content.hxx b/xmlhelp/source/cxxhelp/provider/content.hxx index 362797a419ea..65120591246c 100644 --- a/xmlhelp/source/cxxhelp/provider/content.hxx +++ b/xmlhelp/source/cxxhelp/provider/content.hxx @@ -25,7 +25,6 @@ namespace com::sun::star::beans { struct Property; - struct PropertyValue; } namespace com::sun::star::sdbc { class XRow; diff --git a/xmlhelp/source/cxxhelp/provider/databases.hxx b/xmlhelp/source/cxxhelp/provider/databases.hxx index 2982817d424f..c542625c25b0 100644 --- a/xmlhelp/source/cxxhelp/provider/databases.hxx +++ b/xmlhelp/source/cxxhelp/provider/databases.hxx @@ -50,7 +50,6 @@ namespace helpdatafileproxy { namespace chelp { class Databases; - class URLParameter; class StaticModuleInformation { diff --git a/xmlscript/source/xmldlg_imexp/imp_share.hxx b/xmlscript/source/xmldlg_imexp/imp_share.hxx index b3ce62a111cc..0a6955be463a 100644 --- a/xmlscript/source/xmldlg_imexp/imp_share.hxx +++ b/xmlscript/source/xmldlg_imexp/imp_share.hxx @@ -105,8 +105,6 @@ inline bool getLongAttr( return false; } -class ImportContext; - struct DialogImport : public ::cppu::WeakImplHelper< css::xml::input::XRoot > { diff --git a/xmlsecurity/inc/digitalsignaturesdialog.hxx b/xmlsecurity/inc/digitalsignaturesdialog.hxx index 82a27a1c3fe7..4993a8863625 100644 --- a/xmlsecurity/inc/digitalsignaturesdialog.hxx +++ b/xmlsecurity/inc/digitalsignaturesdialog.hxx @@ -25,14 +25,11 @@ #include "documentsignaturemanager.hxx" namespace com::sun::star { - namespace lang { class XMultiServiceFactory; } namespace io { class XStream; } namespace embed { class XStorage; } - namespace xml::dom { class XDocumentBuilder; } } -class HeaderBar; class CertificateViewer; class SfxViewShell; diff --git a/xmlsecurity/inc/framework/signaturecreatorimpl.hxx b/xmlsecurity/inc/framework/signaturecreatorimpl.hxx index d0fc1dc33369..ce53f046e208 100644 --- a/xmlsecurity/inc/framework/signaturecreatorimpl.hxx +++ b/xmlsecurity/inc/framework/signaturecreatorimpl.hxx @@ -28,7 +28,6 @@ #include <framework/signatureengine.hxx> namespace com::sun::star::xml::crypto { class XSecurityEnvironment; } -namespace com::sun::star::xml::crypto::sax { class XSignatureCreationResultListener;} typedef cppu::ImplInheritanceHelper < diff --git a/xmlsecurity/inc/framework/signatureverifierimpl.hxx b/xmlsecurity/inc/framework/signatureverifierimpl.hxx index 92a7269a0734..e5c1a8484495 100644 --- a/xmlsecurity/inc/framework/signatureverifierimpl.hxx +++ b/xmlsecurity/inc/framework/signatureverifierimpl.hxx @@ -26,7 +26,6 @@ #include <framework/signatureengine.hxx> -namespace com::sun::star::xml::crypto::sax { class XSignatureVerifyResultListener; } namespace com::sun::star::xml::crypto { class XXMLSecurityContext; } typedef cppu::ImplInheritanceHelper diff --git a/xmlsecurity/inc/gpg/SEInitializer.hxx b/xmlsecurity/inc/gpg/SEInitializer.hxx index e4da22029c3d..f56499eb62f5 100644 --- a/xmlsecurity/inc/gpg/SEInitializer.hxx +++ b/xmlsecurity/inc/gpg/SEInitializer.hxx @@ -17,8 +17,6 @@ #include <xsecxmlsecdllapi.h> #include <cppuhelper/implbase.hxx> -namespace com::sun::star::xml::crypto { class XXMLSecurityContext; } - class XSECXMLSEC_DLLPUBLIC SEInitializerGpg final : public cppu::WeakImplHelper < css::xml::crypto::XSEInitializer, diff --git a/xmlsecurity/inc/gpg/xmlsignature_gpgimpl.hxx b/xmlsecurity/inc/gpg/xmlsignature_gpgimpl.hxx index 906a51d19c1e..ec4a76d091ee 100644 --- a/xmlsecurity/inc/gpg/xmlsignature_gpgimpl.hxx +++ b/xmlsecurity/inc/gpg/xmlsignature_gpgimpl.hxx @@ -30,8 +30,6 @@ #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/xml/crypto/XXMLSignature.hpp> -namespace com::sun::star::xml::crypto { class XXMLSignatureTemplate; } -namespace com::sun::star::xml::crypto { class XXMLSecurityContext; } namespace com::sun::star::lang { class XMultiServiceFactory; } diff --git a/xmlsecurity/inc/pdfsignaturehelper.hxx b/xmlsecurity/inc/pdfsignaturehelper.hxx index a20598131db1..35cb31d5361f 100644 --- a/xmlsecurity/inc/pdfsignaturehelper.hxx +++ b/xmlsecurity/inc/pdfsignaturehelper.hxx @@ -26,10 +26,6 @@ class XInputStream; } namespace security { -class XCertificate; -} -namespace security -{ struct DocumentSignatureInformation; } namespace xml::crypto diff --git a/xmlsecurity/inc/xsecctl.hxx b/xmlsecurity/inc/xsecctl.hxx index 558301a79663..279442d3a27e 100644 --- a/xmlsecurity/inc/xsecctl.hxx +++ b/xmlsecurity/inc/xsecctl.hxx @@ -63,7 +63,6 @@ inline constexpr OUString ALGO_RELATIONSHIP = u"http://schemas.openxmlformats.or class XMLDocumentWrapper_XmlSecImpl; class SAXEventKeeperImpl; class XMLSignatureHelper; -namespace svl::crypto { enum class SignatureMethodAlgorithm; } class InternalSignatureInformation { diff --git a/xmlsecurity/source/gpg/XMLEncryption.hxx b/xmlsecurity/source/gpg/XMLEncryption.hxx index 4ff47ccc49a4..884fc895dd92 100644 --- a/xmlsecurity/source/gpg/XMLEncryption.hxx +++ b/xmlsecurity/source/gpg/XMLEncryption.hxx @@ -15,9 +15,6 @@ #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/xml/crypto/XXMLEncryption.hpp> -namespace com::sun::star::xml::crypto { class XXMLEncryptionTemplate; } -namespace com::sun::star::xml::crypto { class XXMLSecurityContext; } - class XMLEncryptionGpg : public cppu::WeakImplHelper< css::xml::crypto::XXMLEncryption > { public: diff --git a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx index b45a17397dbc..b355cbad392d 100644 --- a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx +++ b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx @@ -40,7 +40,6 @@ #include <xmlsec/xmlsec.h> -namespace com::sun::star::security { class XCertificate; } class X509Certificate_NssImpl; class SecurityEnvironment_NssImpl : public ::cppu::WeakImplHelper< diff --git a/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.hxx b/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.hxx index f078f387afda..27f60a60ee5a 100644 --- a/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.hxx +++ b/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.hxx @@ -25,8 +25,6 @@ #include "nssinitializer.hxx" -namespace com::sun::star::xml::crypto { class XXMLSecurityContext; } - class SEInitializer_NssImpl : public cppu::ImplInheritanceHelper < ONSSInitializer,