summaryrefslogtreecommitdiff
path: root/include/xmloff
diff options
context:
space:
mode:
authorGabor Kelemen <gabor.kelemen.extern@allotropia.de>2024-12-24 23:16:02 +0100
committerMiklos Vajna <vmiklos@collabora.com>2025-01-03 09:32:27 +0100
commit72df5a6fdf3e14d9994ebd1de269ab712136a27a (patch)
tree3c8dcb0b8e162bbc29fe2876d4b078cf9d8f813e /include/xmloff
parent9e1e48d73014471ebc2ea4f3589276cace096613 (diff)
Drop unneeded forward declarations from include/
test drive the new bin/find-unneeded-includes --fwdecl mode Change-Id: I507fa2b172ec9e348d1d91066ea241f02187b5ed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179321 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/DocumentSettingsContext.hxx2
-rw-r--r--include/xmloff/SchXMLImportHelper.hxx5
-rw-r--r--include/xmloff/XMLBase64ImportContext.hxx1
-rw-r--r--include/xmloff/XMLTextMasterPageContext.hxx4
-rw-r--r--include/xmloff/animexp.hxx1
-rw-r--r--include/xmloff/formlayerimport.hxx1
-rw-r--r--include/xmloff/shapeimport.hxx2
-rw-r--r--include/xmloff/txtimp.hxx2
-rw-r--r--include/xmloff/xmlexp.hxx1
-rw-r--r--include/xmloff/xmlictxt.hxx2
-rw-r--r--include/xmloff/xmlimppr.hxx1
-rw-r--r--include/xmloff/xmlnume.hxx1
-rw-r--r--include/xmloff/xmlnumfe.hxx1
-rw-r--r--include/xmloff/xmlnumfi.hxx1
-rw-r--r--include/xmloff/xmlstyle.hxx1
15 files changed, 2 insertions, 24 deletions
diff --git a/include/xmloff/DocumentSettingsContext.hxx b/include/xmloff/DocumentSettingsContext.hxx
index 130da3814631..06a09aa2b4b5 100644
--- a/include/xmloff/DocumentSettingsContext.hxx
+++ b/include/xmloff/DocumentSettingsContext.hxx
@@ -26,8 +26,6 @@
#include <vector>
-struct XMLDocumentSettingsContext_Data;
-
class XMLOFF_DLLPUBLIC XMLDocumentSettingsContext final : public SvXMLImportContext
{
struct SettingsGroup
diff --git a/include/xmloff/SchXMLImportHelper.hxx b/include/xmloff/SchXMLImportHelper.hxx
index 446b07387f29..76c80a88725d 100644
--- a/include/xmloff/SchXMLImportHelper.hxx
+++ b/include/xmloff/SchXMLImportHelper.hxx
@@ -31,11 +31,6 @@ namespace com::sun::star {
namespace frame {
class XModel;
}
- namespace xml {
- namespace sax {
- class XAttributeList;
- }
- }
namespace chart2 {
class XChartDocument;
class XDataSeries;
diff --git a/include/xmloff/XMLBase64ImportContext.hxx b/include/xmloff/XMLBase64ImportContext.hxx
index 053ec8cec56c..75ad8101ae24 100644
--- a/include/xmloff/XMLBase64ImportContext.hxx
+++ b/include/xmloff/XMLBase64ImportContext.hxx
@@ -25,7 +25,6 @@
#include <xmloff/dllapi.h>
#include <xmloff/xmlictxt.hxx>
-namespace com::sun::star::xml::sax { class XAttributeList; }
namespace com::sun::star::io { class XOutputStream; }
class XMLOFF_DLLPUBLIC XMLBase64ImportContext final : public SvXMLImportContext
diff --git a/include/xmloff/XMLTextMasterPageContext.hxx b/include/xmloff/XMLTextMasterPageContext.hxx
index f9e28ee8f776..a2b6cfd42b6f 100644
--- a/include/xmloff/XMLTextMasterPageContext.hxx
+++ b/include/xmloff/XMLTextMasterPageContext.hxx
@@ -25,6 +25,8 @@
#include <xmloff/xmlstyle.hxx>
+struct ContextID_Index_Pair;
+
namespace com::sun::star {
namespace style { class XStyle; }
}
@@ -71,8 +73,6 @@ public:
virtual void Finish( bool bOverwrite ) override;
};
-struct ContextID_Index_Pair;
-
XMLOFF_DLLPUBLIC extern ContextID_Index_Pair const g_MasterPageContextIDs[];
XMLOFF_DLLPUBLIC extern XmlStyleFamily const g_MasterPageFamilies[];
diff --git a/include/xmloff/animexp.hxx b/include/xmloff/animexp.hxx
index 286cb21d35d0..cbb11a9672fb 100644
--- a/include/xmloff/animexp.hxx
+++ b/include/xmloff/animexp.hxx
@@ -34,7 +34,6 @@ template <typename> class Reference;
class AnimExpImpl;
class SvXMLExport;
-class XMLShapeExport;
class XMLAnimationsExporter final : public salhelper::SimpleReferenceObject
{
diff --git a/include/xmloff/formlayerimport.hxx b/include/xmloff/formlayerimport.hxx
index ae9c5ed7e336..5897df7340bd 100644
--- a/include/xmloff/formlayerimport.hxx
+++ b/include/xmloff/formlayerimport.hxx
@@ -28,7 +28,6 @@
namespace com::sun::star::beans { class XPropertySet; }
namespace com::sun::star::drawing { class XDrawPage; }
-namespace com::sun::star::xml::sax { class XAttributeList; }
namespace com::sun::star::xml::sax { class XFastAttributeList; }
class SvXMLImport;
diff --git a/include/xmloff/shapeimport.hxx b/include/xmloff/shapeimport.hxx
index 12cb9f8fd581..7ce6019cd306 100644
--- a/include/xmloff/shapeimport.hxx
+++ b/include/xmloff/shapeimport.hxx
@@ -37,10 +37,8 @@ namespace com::sun::star::beans { class XPropertySet; }
namespace com::sun::star::drawing { class XShape; }
namespace com::sun::star::drawing { class XShapes; }
namespace com::sun::star::frame { class XModel; }
-namespace com::sun::star::xml::sax { class XAttributeList; }
class SvXMLImport;
-class SvXMLTokenMap;
class SvXMLStylesContext;
class XMLSdPropHdlFactory;
class SvXMLImportPropertyMapper;
diff --git a/include/xmloff/txtimp.hxx b/include/xmloff/txtimp.hxx
index c04e577c6573..061b2e3b34ba 100644
--- a/include/xmloff/txtimp.hxx
+++ b/include/xmloff/txtimp.hxx
@@ -33,7 +33,6 @@
class XMLTextListsHelper;
class SvXMLImportContext;
-class SvXMLTokenMap;
class SvXMLImportPropertyMapper;
class SvXMLImport;
class SvXMLStylesContext;
@@ -58,7 +57,6 @@ namespace text {
namespace frame { class XModel; }
namespace container { class XNameContainer; class XIndexReplace; }
namespace beans { class XPropertySet; }
-namespace xml::sax { class XAttributeList; }
namespace xml::sax { class XFastAttributeList; }
namespace util { struct DateTime; }
}
diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx
index 2d978852e0cf..9dafd90cda3e 100644
--- a/include/xmloff/xmlexp.hxx
+++ b/include/xmloff/xmlexp.hxx
@@ -68,7 +68,6 @@ namespace com::sun::star::xml::sax { class XExtendedDocumentHandler; }
namespace com::sun::star::xml::sax { class XLocator; }
class SvXMLNamespaceMap;
-class SvtSecurityMapPersonalInfo;
class SvXMLExport_Impl;
class ProgressBarHelper;
class XMLEventExport;
diff --git a/include/xmloff/xmlictxt.hxx b/include/xmloff/xmlictxt.hxx
index 6dfcbb449755..173c129c32ee 100644
--- a/include/xmloff/xmlictxt.hxx
+++ b/include/xmloff/xmlictxt.hxx
@@ -31,8 +31,6 @@
#include <xmloff/namespacemap.hxx>
#include <optional>
-namespace com::sun::star::xml::sax { class XAttributeList; }
-
class SvXMLImport;
class SvXMLImportContext;
diff --git a/include/xmloff/xmlimppr.hxx b/include/xmloff/xmlimppr.hxx
index 1f537a322eea..456eeb05a1ff 100644
--- a/include/xmloff/xmlimppr.hxx
+++ b/include/xmloff/xmlimppr.hxx
@@ -37,7 +37,6 @@ namespace com::sun::star::container { class XNameContainer; }
namespace com::sun::star::uno { class Any; }
namespace com::sun::star::uno { template <typename > class Reference; }
namespace com::sun::star::uno { template <typename > class Sequence; }
-namespace com::sun::star::xml::sax { class XAttributeList; }
namespace com::sun::star::xml::sax { class XFastAttributeList; }
#if defined __GNUC__ // gcc does not like visibility annotation on enum
namespace com::sun::star::drawing { enum class FillStyle; }
diff --git a/include/xmloff/xmlnume.hxx b/include/xmloff/xmlnume.hxx
index 705af6e78d0c..3ef3521d051a 100644
--- a/include/xmloff/xmlnume.hxx
+++ b/include/xmloff/xmlnume.hxx
@@ -33,7 +33,6 @@ namespace com::sun::star::uno { template <class E> class Sequence; }
namespace com::sun::star::uno { template <class interface_type> class Reference; }
class SvXMLExport;
-class XMLTextListAutoStylePool;
class XMLOFF_DLLPUBLIC SvxXMLNumRuleExport final
{
diff --git a/include/xmloff/xmlnumfe.hxx b/include/xmloff/xmlnumfe.hxx
index e367fef2b89e..9ac4e755f99c 100644
--- a/include/xmloff/xmlnumfe.hxx
+++ b/include/xmloff/xmlnumfe.hxx
@@ -37,7 +37,6 @@ inline constexpr OUString XML_WRITTENNUMBERSTYLES = u"WrittenNumberStyles"_ustr;
class Color;
class LocaleDataWrapper;
-class CharClass;
class SvXMLExport;
class SvNumberFormatter;
class SvNumberformat;
diff --git a/include/xmloff/xmlnumfi.hxx b/include/xmloff/xmlnumfi.hxx
index 0a2f752ea511..f55b4ba8ff80 100644
--- a/include/xmloff/xmlnumfi.hxx
+++ b/include/xmloff/xmlnumfi.hxx
@@ -31,7 +31,6 @@
namespace com::sun::star::uno { class XComponentContext; }
namespace com::sun::star::util { class XNumberFormatsSupplier; }
-namespace com::sun::star::xml::sax { class XAttributeList; }
inline constexpr OUString XML_NUMBERSTYLES = u"NumberStyles"_ustr;
diff --git a/include/xmloff/xmlstyle.hxx b/include/xmloff/xmlstyle.hxx
index b370899de3c7..e4c9021a2a9e 100644
--- a/include/xmloff/xmlstyle.hxx
+++ b/include/xmloff/xmlstyle.hxx
@@ -31,7 +31,6 @@
class SvXMLStylesContext_Impl;
class SvXMLImportPropertyMapper;
-class SvXMLTokenMap;
namespace com::sun::star {
namespace container { class XNameContainer; }