package/inc/HashMaps.hxx | 1 - package/inc/ZipFile.hxx | 5 ----- package/inc/ZipOutputStream.hxx | 2 -- package/inc/ZipPackage.hxx | 6 +----- package/inc/ZipPackageFolder.hxx | 1 - package/source/manifest/ManifestReader.hxx | 1 - package/source/manifest/ManifestWriter.hxx | 1 - package/source/xstor/selfterminatefilestream.hxx | 2 -- 8 files changed, 1 insertion(+), 18 deletions(-)
New commits: commit 109e9d6a61a540fde0b0146cb5114ff87594fb21 Author: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> AuthorDate: Tue Apr 8 16:06:24 2025 +0200 Commit: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> CommitDate: Sun Apr 27 10:08:57 2025 +0200 Remove obsolete fw declarations from package/ found with bin/find-unneeded-includes --fwdecl Change-Id: I00bb2b3216bbd171bed6b71565876e6f60ccc083 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183895 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> diff --git a/package/inc/HashMaps.hxx b/package/inc/HashMaps.hxx index 000afa9e3ba2..2c39c82a36cd 100644 --- a/package/inc/HashMaps.hxx +++ b/package/inc/HashMaps.hxx @@ -23,7 +23,6 @@ #include <unordered_map> class ZipPackageFolder; -struct ZipContentInfo; typedef std::unordered_map < OUString, ZipPackageFolder * > FolderHash; diff --git a/package/inc/ZipFile.hxx b/package/inc/ZipFile.hxx index 1d5683349193..f496dfa2ce24 100644 --- a/package/inc/ZipFile.hxx +++ b/package/inc/ZipFile.hxx @@ -36,11 +36,6 @@ class MemoryByteGrabber; namespace com::sun::star { namespace uno { class XComponentContext; } - namespace ucb { class XProgressHandler; } -} -namespace rtl -{ - template < class T > class Reference; } /* diff --git a/package/inc/ZipOutputStream.hxx b/package/inc/ZipOutputStream.hxx index 5b04a0e41dc8..45f78b729250 100644 --- a/package/inc/ZipOutputStream.hxx +++ b/package/inc/ZipOutputStream.hxx @@ -30,9 +30,7 @@ #include <vector> struct ZipEntry; -class ZipOutputEntry; class ZipOutputEntryInThread; -class ZipPackageStream; class ZipOutputStream { diff --git a/package/inc/ZipPackage.hxx b/package/inc/ZipPackage.hxx index d336e80ed7c9..b52cde1c3646 100644 --- a/package/inc/ZipPackage.hxx +++ b/package/inc/ZipPackage.hxx @@ -41,13 +41,9 @@ class SvStream; class ZipOutputStream; class ZipPackageFolder; -class ZipFile; namespace com::sun::star { - namespace container { class XNameContainer; } - namespace io { class XStream; class XOutputStream; class XInputStream; class XSeekable; class XActiveDataStreamer; } - namespace lang { class XMultiServiceFactory; } + namespace io { class XStream; class XInputStream; class XSeekable; class XActiveDataStreamer; } namespace uno { class XComponentContext; } - namespace task { class XInteractionHandler; } } enum InitialisationMode diff --git a/package/inc/ZipPackageFolder.hxx b/package/inc/ZipPackageFolder.hxx index 4b6cf71d81fc..3b62a9407f52 100644 --- a/package/inc/ZipPackageFolder.hxx +++ b/package/inc/ZipPackageFolder.hxx @@ -32,7 +32,6 @@ #include <vector> class ZipOutputStream; -struct ZipEntry; class ZipPackageFolder; class ZipPackageStream; diff --git a/package/source/manifest/ManifestReader.hxx b/package/source/manifest/ManifestReader.hxx index f85644162d05..9123035abd31 100644 --- a/package/source/manifest/ManifestReader.hxx +++ b/package/source/manifest/ManifestReader.hxx @@ -25,7 +25,6 @@ #include <com/sun/star/lang/XServiceInfo.hpp> namespace com::sun::star { - namespace lang { class XSingleServiceFactory; } namespace uno { class XComponentContext; } } diff --git a/package/source/manifest/ManifestWriter.hxx b/package/source/manifest/ManifestWriter.hxx index ca08bb0e4078..5c7df02794cc 100644 --- a/package/source/manifest/ManifestWriter.hxx +++ b/package/source/manifest/ManifestWriter.hxx @@ -25,7 +25,6 @@ #include <com/sun/star/lang/XServiceInfo.hpp> namespace com::sun::star { - namespace lang { class XSingleServiceFactory; } namespace uno { class XComponentContext; } } diff --git a/package/source/xstor/selfterminatefilestream.hxx b/package/source/xstor/selfterminatefilestream.hxx index 4520552956c5..cc71b0de411b 100644 --- a/package/source/xstor/selfterminatefilestream.hxx +++ b/package/source/xstor/selfterminatefilestream.hxx @@ -31,8 +31,6 @@ #include <rtl/ref.hxx> #include <optional> -struct OWriteStream_Impl; - class OSelfTerminateFileStream final : public cppu::WeakImplHelper< css::io::XInputStream, css::io::XSeekable >, public comphelper::ByteReader