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 -- lotuswordpro/inc/xfilter/xfcellstyle.hxx | 2 -- lotuswordpro/inc/xfilter/xfindex.hxx | 4 ---- lotuswordpro/inc/xfilter/xflist.hxx | 2 -- lotuswordpro/inc/xfilter/xfmasterpage.hxx | 2 -- lotuswordpro/inc/xfilter/xfparagraph.hxx | 2 -- lotuswordpro/inc/xfilter/xfrowstyle.hxx | 1 - lotuswordpro/inc/xfilter/xfsaxstream.hxx | 1 - lotuswordpro/inc/xfilter/xftextcontent.hxx | 2 -- lotuswordpro/inc/xfilter/xftextspan.hxx | 2 -- lotuswordpro/inc/xfilter/xftextstyle.hxx | 1 - lotuswordpro/source/filter/lwpbackgroundoverride.hxx | 1 - lotuswordpro/source/filter/lwpbreaksoverride.hxx | 1 - lotuswordpro/source/filter/lwpbulletstylemgr.hxx | 1 - lotuswordpro/source/filter/lwpcelllayout.hxx | 2 -- lotuswordpro/source/filter/lwpcharacterstyle.hxx | 6 ------ lotuswordpro/source/filter/lwpfootnote.hxx | 1 - lotuswordpro/source/filter/lwpnumberingoverride.hxx | 1 - lotuswordpro/source/filter/lwppara.hxx | 1 - lotuswordpro/source/filter/lwpparastyle.hxx | 2 -- lotuswordpro/source/filter/lwppiece.hxx | 3 --- lotuswordpro/source/filter/lwprowlayout.hxx | 1 - lotuswordpro/source/filter/lwpsection.hxx | 3 --- lotuswordpro/source/filter/lwpsilverbullet.hxx | 1 - lotuswordpro/source/filter/lwptable.hxx | 1 - lotuswordpro/source/filter/lwptablelayout.hxx | 4 ---- lotuswordpro/source/filter/lwptabrack.hxx | 2 -- lotuswordpro/source/filter/lwptblcell.hxx | 4 ---- lotuswordpro/source/filter/lwptoc.hxx | 1 - lotuswordpro/source/filter/lwpuidoc.hxx | 4 ---- 34 files changed, 1 insertion(+), 70 deletions(-)
New commits: commit 01d94f0734466006fe3c4c47bce4edd1a2fc6af7 Author: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> AuthorDate: Tue Apr 8 16:05:07 2025 +0200 Commit: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> CommitDate: Wed Apr 23 15:50:58 2025 +0200 Remove obsolete fw declarations from lotuswordpro/ found with bin/find-unneeded-includes --fwdecl Change-Id: I76f62dcb953e0f80dcbf289c598c92c9301a495a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183893 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> diff --git a/lotuswordpro/inc/xfilter/xfcellstyle.hxx b/lotuswordpro/inc/xfilter/xfcellstyle.hxx index 34b76a5e3f32..14d65c3e65b9 100644 --- a/lotuswordpro/inc/xfilter/xfcellstyle.hxx +++ b/lotuswordpro/inc/xfilter/xfcellstyle.hxx @@ -74,8 +74,6 @@ class XFBorders; class XFFont; -class XFBorders; -class XFMargins; class XFBGImage; /** diff --git a/lotuswordpro/inc/xfilter/xfindex.hxx b/lotuswordpro/inc/xfilter/xfindex.hxx index f5bbd717297b..eec7d1b429ea 100644 --- a/lotuswordpro/inc/xfilter/xfindex.hxx +++ b/lotuswordpro/inc/xfilter/xfindex.hxx @@ -66,10 +66,6 @@ #include <xfilter/xfcontentcontainer.hxx> #include <rtl/ref.hxx> -class XFIndex; -class XFIndexTemplate; -class XFParagraph; - /** * @brief * Index template. diff --git a/lotuswordpro/inc/xfilter/xflist.hxx b/lotuswordpro/inc/xfilter/xflist.hxx index 764e46e0e72e..71933b67a670 100644 --- a/lotuswordpro/inc/xfilter/xflist.hxx +++ b/lotuswordpro/inc/xfilter/xflist.hxx @@ -62,8 +62,6 @@ #include <xfilter/xfcontentcontainer.hxx> -class XFListItem; - /** * @brief * list object for order-list and unordered-list. diff --git a/lotuswordpro/inc/xfilter/xfmasterpage.hxx b/lotuswordpro/inc/xfilter/xfmasterpage.hxx index f321f5bbf7d3..1bb664c81614 100644 --- a/lotuswordpro/inc/xfilter/xfmasterpage.hxx +++ b/lotuswordpro/inc/xfilter/xfmasterpage.hxx @@ -64,8 +64,6 @@ #include <xfilter/xfheader.hxx> #include <xfilter/xffooter.hxx> -class XFFooter; -class XFHeader; class XFMasterPage : public XFStyle { public: diff --git a/lotuswordpro/inc/xfilter/xfparagraph.hxx b/lotuswordpro/inc/xfilter/xfparagraph.hxx index e53399272b2c..d0de9f99ea11 100644 --- a/lotuswordpro/inc/xfilter/xfparagraph.hxx +++ b/lotuswordpro/inc/xfilter/xfparagraph.hxx @@ -62,8 +62,6 @@ #include <xfilter/xfcontentcontainer.hxx> -class IXFStream; - /** * @brief * Paragraph object for SODC. diff --git a/lotuswordpro/inc/xfilter/xfrowstyle.hxx b/lotuswordpro/inc/xfilter/xfrowstyle.hxx index bd47fe2ac399..f2f8cd4b7ea8 100644 --- a/lotuswordpro/inc/xfilter/xfrowstyle.hxx +++ b/lotuswordpro/inc/xfilter/xfrowstyle.hxx @@ -64,7 +64,6 @@ #include <xfilter/xfstyle.hxx> #include <xfilter/xfcolor.hxx> -class XFBGImage; class XFRowStyle : public XFStyle { public: diff --git a/lotuswordpro/inc/xfilter/xfsaxstream.hxx b/lotuswordpro/inc/xfilter/xfsaxstream.hxx index e86f817ab89e..8d4c4ede7428 100644 --- a/lotuswordpro/inc/xfilter/xfsaxstream.hxx +++ b/lotuswordpro/inc/xfilter/xfsaxstream.hxx @@ -66,7 +66,6 @@ #include <com/sun/star/xml/sax/XDocumentHandler.hpp> class XFSaxAttrList; -class IXFAttrList; /** * @brief diff --git a/lotuswordpro/inc/xfilter/xftextcontent.hxx b/lotuswordpro/inc/xfilter/xftextcontent.hxx index 226e66800df1..19176c2c11c9 100644 --- a/lotuswordpro/inc/xfilter/xftextcontent.hxx +++ b/lotuswordpro/inc/xfilter/xftextcontent.hxx @@ -59,8 +59,6 @@ #include <xfilter/xfcontent.hxx> -class IXFStream; - /** * @brief * Adapter for text to content. diff --git a/lotuswordpro/inc/xfilter/xftextspan.hxx b/lotuswordpro/inc/xfilter/xftextspan.hxx index c7c4cc9c2992..f432d424c5cf 100644 --- a/lotuswordpro/inc/xfilter/xftextspan.hxx +++ b/lotuswordpro/inc/xfilter/xftextspan.hxx @@ -68,8 +68,6 @@ #include <xfilter/xfcontent.hxx> -class IXFStream; - class XFTextSpan : public XFContent { public: diff --git a/lotuswordpro/inc/xfilter/xftextstyle.hxx b/lotuswordpro/inc/xfilter/xftextstyle.hxx index 4cce69a745ce..e56ac59b7f16 100644 --- a/lotuswordpro/inc/xfilter/xftextstyle.hxx +++ b/lotuswordpro/inc/xfilter/xftextstyle.hxx @@ -67,7 +67,6 @@ #include <xfilter/xfstyle.hxx> -class IXFStream; class XFFont; class XFTextStyle : public XFStyle diff --git a/lotuswordpro/source/filter/lwpbackgroundoverride.hxx b/lotuswordpro/source/filter/lwpbackgroundoverride.hxx index 6044d7eff67d..bf86eaa4fa9f 100644 --- a/lotuswordpro/source/filter/lwpbackgroundoverride.hxx +++ b/lotuswordpro/source/filter/lwpbackgroundoverride.hxx @@ -59,7 +59,6 @@ #include <lwpoverride.hxx> #include "lwpbackgroundstuff.hxx" -class LwpObjectStream; class LwpBackgroundOverride : public LwpOverride { public: diff --git a/lotuswordpro/source/filter/lwpbreaksoverride.hxx b/lotuswordpro/source/filter/lwpbreaksoverride.hxx index e10e357dcb09..9809c3b749fa 100644 --- a/lotuswordpro/source/filter/lwpbreaksoverride.hxx +++ b/lotuswordpro/source/filter/lwpbreaksoverride.hxx @@ -63,7 +63,6 @@ #include <memory> #include <lwpoverride.hxx> -class LwpObjectStream; class LwpAtomHolder; class LwpBreaksOverride final : public LwpOverride { diff --git a/lotuswordpro/source/filter/lwpbulletstylemgr.hxx b/lotuswordpro/source/filter/lwpbulletstylemgr.hxx index c4dd9d6c3be1..bad50322ff8c 100644 --- a/lotuswordpro/source/filter/lwpbulletstylemgr.hxx +++ b/lotuswordpro/source/filter/lwpbulletstylemgr.hxx @@ -69,7 +69,6 @@ #include <utility> #include <xfilter/xfcontentcontainer.hxx> -class XFList; class LwpPara; class LwpIndentOverride; class LwpBulletOverride; diff --git a/lotuswordpro/source/filter/lwpcelllayout.hxx b/lotuswordpro/source/filter/lwpcelllayout.hxx index 72aad7b4136f..d0774abb1613 100644 --- a/lotuswordpro/source/filter/lwpcelllayout.hxx +++ b/lotuswordpro/source/filter/lwpcelllayout.hxx @@ -73,9 +73,7 @@ typedef enum enumCellBorderTopLimit = 4, } LwpCellBorderType; -class XFCell; class XFCellStyle; -class LwpCellList; class LwpTable; class LwpTableLayout; /** diff --git a/lotuswordpro/source/filter/lwpcharacterstyle.hxx b/lotuswordpro/source/filter/lwpcharacterstyle.hxx index 53cb0ae20d5c..894609a9b048 100644 --- a/lotuswordpro/source/filter/lwpcharacterstyle.hxx +++ b/lotuswordpro/source/filter/lwpcharacterstyle.hxx @@ -65,12 +65,6 @@ #include <lwpoverride.hxx> #include "lwpcharborderoverride.hxx" -class LwpAtomHolder; -class LwpTextLanguageOverride; -class LwpTextAttributeOverride; -class LwpCharacterBorderOverride; -class LwpAmikakeOverride; - class LwpTextStyle : public LwpDLNFPVList { public: diff --git a/lotuswordpro/source/filter/lwpfootnote.hxx b/lotuswordpro/source/filter/lwpfootnote.hxx index 823e647e6c52..cddf3066ac8b 100644 --- a/lotuswordpro/source/filter/lwpfootnote.hxx +++ b/lotuswordpro/source/filter/lwpfootnote.hxx @@ -119,7 +119,6 @@ private: class LwpEnSuperTableLayout; class LwpCellLayout; class LwpDocument; -class LwpTable; class LwpFootnote : public LwpOrderedObject { public: diff --git a/lotuswordpro/source/filter/lwpnumberingoverride.hxx b/lotuswordpro/source/filter/lwpnumberingoverride.hxx index 09975e885763..7c31bd1b8543 100644 --- a/lotuswordpro/source/filter/lwpnumberingoverride.hxx +++ b/lotuswordpro/source/filter/lwpnumberingoverride.hxx @@ -62,7 +62,6 @@ #include <lwpoverride.hxx> -class LwpObjectStream; class LwpNumberingOverride final : public LwpOverride { public: diff --git a/lotuswordpro/source/filter/lwppara.hxx b/lotuswordpro/source/filter/lwppara.hxx index 2d2f980914c2..0a1e3ee9baa7 100644 --- a/lotuswordpro/source/filter/lwppara.hxx +++ b/lotuswordpro/source/filter/lwppara.hxx @@ -80,7 +80,6 @@ #include <xfilter/xfsection.hxx> class LwpParaProperty; -class LwpPara; class LwpBreaksOverride; class LwpBulletStyleMgr; diff --git a/lotuswordpro/source/filter/lwpparastyle.hxx b/lotuswordpro/source/filter/lwpparastyle.hxx index c41382c6c0d0..90743754bc19 100644 --- a/lotuswordpro/source/filter/lwpparastyle.hxx +++ b/lotuswordpro/source/filter/lwpparastyle.hxx @@ -65,8 +65,6 @@ #include "lwpborderstuff.hxx" #include "lwppara.hxx" -class LwpKinsokuOptsOverride; -class LwpBulletOverride; class XFParaStyle; class XFBorders; diff --git a/lotuswordpro/source/filter/lwppiece.hxx b/lotuswordpro/source/filter/lwppiece.hxx index 707c4e542999..18f969a106c9 100644 --- a/lotuswordpro/source/filter/lwppiece.hxx +++ b/lotuswordpro/source/filter/lwppiece.hxx @@ -70,9 +70,6 @@ #include "lwpbackgroundoverride.hxx" #include "lwptaboverride.hxx" -class LwpOverride; -class LwpDLVList; - class LwpVirtualPiece : public LwpDLVList { public: diff --git a/lotuswordpro/source/filter/lwprowlayout.hxx b/lotuswordpro/source/filter/lwprowlayout.hxx index 38dfefaaef5c..4ee8b505cbb6 100644 --- a/lotuswordpro/source/filter/lwprowlayout.hxx +++ b/lotuswordpro/source/filter/lwprowlayout.hxx @@ -67,7 +67,6 @@ class XFRow; class XFTable; -class LwpTableLayout; /** * @brief * VO_ROWLAYOUT obj diff --git a/lotuswordpro/source/filter/lwpsection.hxx b/lotuswordpro/source/filter/lwpsection.hxx index 4f43aea782ae..99422312c4a8 100644 --- a/lotuswordpro/source/filter/lwpsection.hxx +++ b/lotuswordpro/source/filter/lwpsection.hxx @@ -66,7 +66,6 @@ * @brief COrderedObject class in .lwp file * */ -class LwpDLNFVList; class LwpOrderedObject : public LwpDLNFVList { public: @@ -84,8 +83,6 @@ private: * @brief VO_SECTION object in .lwp file * */ -class LwpColor; -class LwpAtomHolder; class LwpSection : public LwpOrderedObject { public: diff --git a/lotuswordpro/source/filter/lwpsilverbullet.hxx b/lotuswordpro/source/filter/lwpsilverbullet.hxx index 0ca2a7fb3b56..2f1ee67a49a3 100644 --- a/lotuswordpro/source/filter/lwpsilverbullet.hxx +++ b/lotuswordpro/source/filter/lwpsilverbullet.hxx @@ -82,7 +82,6 @@ const sal_uInt16 NUMCHAR_Chinese2 = 0x08; //index for numberchar "Ò»" const sal_uInt16 NUMCHAR_Chinese3 = 0x0A; //index for numberchar "¼×" const sal_uInt16 NUMCHAR_Chinese4 = 0x13; //index for numberchar "01" in chinese version -class LwpAtomHolder; class LwpPara; class LwpFribParaNumber; diff --git a/lotuswordpro/source/filter/lwptable.hxx b/lotuswordpro/source/filter/lwptable.hxx index 68e7eb197e6b..fa5b71f7f644 100644 --- a/lotuswordpro/source/filter/lwptable.hxx +++ b/lotuswordpro/source/filter/lwptable.hxx @@ -67,7 +67,6 @@ #include <lwptools.hxx> #include "lwptablelayout.hxx" -class LwpTableLayout; /** * @brief * VO_SUPERTABLE object diff --git a/lotuswordpro/source/filter/lwptablelayout.hxx b/lotuswordpro/source/filter/lwptablelayout.hxx index a81abec610fb..83c43c5f6869 100644 --- a/lotuswordpro/source/filter/lwptablelayout.hxx +++ b/lotuswordpro/source/filter/lwptablelayout.hxx @@ -73,16 +73,12 @@ #include <memory> class XFTableStyle; -class XFTable; -class XFCell; class LwpTable; class LwpFrame; class LwpSuperTableLayout; class LwpRowLayout; class LwpCellLayout; class LwpTableHeadingLayout; -class LwpRowHeadingLayout; -class LwpConnectedCellLayout; class LwpColumnLayout; struct TableConvertAttempt diff --git a/lotuswordpro/source/filter/lwptabrack.hxx b/lotuswordpro/source/filter/lwptabrack.hxx index 7157e08abbd1..4dbc800f5cf2 100644 --- a/lotuswordpro/source/filter/lwptabrack.hxx +++ b/lotuswordpro/source/filter/lwptabrack.hxx @@ -63,8 +63,6 @@ #include <lwpobj.hxx> class LwpObjectStream; -class LwpTab; -class LwpTabRack; class LwpTab { diff --git a/lotuswordpro/source/filter/lwptblcell.hxx b/lotuswordpro/source/filter/lwptblcell.hxx index e9def931b933..186e6f5c2293 100644 --- a/lotuswordpro/source/filter/lwptblcell.hxx +++ b/lotuswordpro/source/filter/lwptblcell.hxx @@ -66,10 +66,6 @@ #include <xfilter/xfcell.hxx> -// temporarily added for compile -class LwpObject; - -class LwpContent; class LwpTableLayout; /** * @brief diff --git a/lotuswordpro/source/filter/lwptoc.hxx b/lotuswordpro/source/filter/lwptoc.hxx index e22fcecf2878..6e7f89920d84 100644 --- a/lotuswordpro/source/filter/lwptoc.hxx +++ b/lotuswordpro/source/filter/lwptoc.hxx @@ -62,7 +62,6 @@ class XFIndex; class LwpFoundry; class LwpTocLevelData; -class XFIndex; /** * @brief * VO_TOCSUPERTABLELAYOUT object diff --git a/lotuswordpro/source/filter/lwpuidoc.hxx b/lotuswordpro/source/filter/lwpuidoc.hxx index 3e2ce786afe7..e0608579f8cb 100644 --- a/lotuswordpro/source/filter/lwpuidoc.hxx +++ b/lotuswordpro/source/filter/lwpuidoc.hxx @@ -65,10 +65,6 @@ #include <lwpobjstrm.hxx> #include <lwpatomholder.hxx> -class LwpNamedProperties; -class LwpAutoRunMacroOptions; -class LwpMergeOptions; - /** * @brief Properties in UIDocument structure * not parsed yet commit a8278e1c4949eb17ffc32730eea393e908ec7a41 Author: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> AuthorDate: Tue Apr 8 16:03:43 2025 +0200 Commit: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> CommitDate: Wed Apr 23 15:50:30 2025 +0200 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 <gabor.kelemen.ext...@allotropia.de> 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 <cppuhelper/implbase.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> -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 <vector> +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;