From a8278e1c4949eb17ffc32730eea393e908ec7a41 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Tue, 8 Apr 2025 16:03:43 +0200 Subject: [PATCH] Remove obsolete fw declarations from i18npool/ idl/ found with bin/find-unneeded-includes --fwdecl Change-Id: I6671637445e373310cc982af655bef899b2ec14f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183891 Tested-by: Jenkins Reviewed-by: Gabor Kelemen --- i18npool/inc/localedata.hxx | 6 ------ i18npool/inc/ordinalsuffix.hxx | 2 -- idl/inc/basobj.hxx | 1 + idl/inc/bastype.hxx | 1 - idl/inc/parser.hxx | 2 -- 5 files changed, 1 insertion(+), 11 deletions(-) diff --git a/i18npool/inc/localedata.hxx b/i18npool/inc/localedata.hxx index 06cf68fa7fdf..cb1ef9ea9769 100644 --- a/i18npool/inc/localedata.hxx +++ b/i18npool/inc/localedata.hxx @@ -39,12 +39,6 @@ namespace com::sun::star::beans { struct PropertyValue; } namespace com::sun::star::container { class XIndexAccess; } -namespace com::sun::star::i18n { struct Currency; } -namespace com::sun::star::i18n { struct Currency2; } -namespace com::sun::star::i18n { struct FormatElement; } -namespace com::sun::star::lang { struct Locale; } - -struct LocaleDataLookupTableItem; namespace i18npool { diff --git a/i18npool/inc/ordinalsuffix.hxx b/i18npool/inc/ordinalsuffix.hxx index 39342359fc06..c53429d28237 100644 --- a/i18npool/inc/ordinalsuffix.hxx +++ b/i18npool/inc/ordinalsuffix.hxx @@ -23,8 +23,6 @@ #include #include -namespace com::sun::star::lang { struct Locale; } - namespace i18npool { class OrdinalSuffixService final : public cppu::WeakImplHelper diff --git a/idl/inc/basobj.hxx b/idl/inc/basobj.hxx index c7d8b77f1466..d9630dc0957a 100644 --- a/idl/inc/basobj.hxx +++ b/idl/inc/basobj.hxx @@ -23,6 +23,7 @@ #include "bastype.hxx" #include +class SvStream; class SvTokenStream; class SvIdlDataBase; diff --git a/idl/inc/bastype.hxx b/idl/inc/bastype.hxx index ff4938764c6e..6187c87072dc 100644 --- a/idl/inc/bastype.hxx +++ b/idl/inc/bastype.hxx @@ -24,7 +24,6 @@ class SvStringHashEntry; class SvIdlDataBase; -class SvStream; class SvTokenStream; class SvBOOL diff --git a/idl/inc/parser.hxx b/idl/inc/parser.hxx index a9a0b66c6839..891a8d421507 100644 --- a/idl/inc/parser.hxx +++ b/idl/inc/parser.hxx @@ -25,9 +25,7 @@ class SvTokenStream; class SvIdlDataBase; class SvMetaModule; -class SvMetaTypeEnum; class SvStringHashEntry; -class SvMetaType; class SvMetaClass; class SvBOOL;