reportdesign/source/filter/xml/xmlExport.cxx | 26 -------------------------- reportdesign/util/rpt.component | 8 -------- 2 files changed, 34 deletions(-)
New commits: commit 0be0d8109ba2eec08e6ad7c6f6561e6a55089da1 Author: Michael Weghorn <[email protected]> AuthorDate: Tue Jul 15 14:21:11 2025 +0200 Commit: Michael Weghorn <[email protected]> CommitDate: Wed Jul 16 07:47:43 2025 +0200 reportdesign: Drop unused com.sun.star.comp.report.XMLContentExporter While most other services defined in the component file are actually used (s. e.g. OReportDefinition::storeToStorage), com.sun.star.comp.report.XMLContentExporter is apparently unused. Drop it. Instead, "com.sun.star.comp.report.ExportFilter" gets used, for which the SvXMLExportFlags::CONTENT flag gets set as well. Change-Id: Id2487e550d759d290da6c426e282b27a4d28e8de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187913 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/reportdesign/source/filter/xml/xmlExport.cxx b/reportdesign/source/filter/xml/xmlExport.cxx index 061a8f26f846..145e632bd695 100644 --- a/reportdesign/source/filter/xml/xmlExport.cxx +++ b/reportdesign/source/filter/xml/xmlExport.cxx @@ -71,19 +71,6 @@ namespace rptxml SvXMLExportFlags::SETTINGS )); } - /** Exports only content - * \ingroup reportdesign_source_filter_xml - * - */ - extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* - reportdesign_ORptContentExportHelper_get_implementation( - css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any> const&) - { - return cppu::acquire(new ORptExport(context, - u"com.sun.star.comp.report.XMLContentExporter"_ustr, - SvXMLExportFlags::CONTENT )); - } - /** Exports only styles * \ingroup reportdesign_source_filter_xml * diff --git a/reportdesign/util/rpt.component b/reportdesign/util/rpt.component index 428ecd772ef7..26c8e879cc6b 100644 --- a/reportdesign/util/rpt.component +++ b/reportdesign/util/rpt.component @@ -82,10 +82,6 @@ constructor="reportdesign_ORptTypeDetection_get_implementation"> <service name="com.sun.star.document.ExtendedTypeDetection"/> </implementation> - <implementation name="com.sun.star.comp.report.XMLContentExporter" - constructor="reportdesign_ORptContentExportHelper_get_implementation"> - <service name="com.sun.star.document.ExportFilter"/> - </implementation> <implementation name="com.sun.star.comp.report.XMLMetaExporter" constructor="reportdesign_ORptMetaExportHelper_get_implementation"> <service name="com.sun.star.document.ExportFilter"/> commit d33bce2de9675e0115c679551c3481462380de17 Author: Michael Weghorn <[email protected]> AuthorDate: Tue Jul 15 14:16:48 2025 +0200 Commit: Michael Weghorn <[email protected]> CommitDate: Wed Jul 16 07:47:36 2025 +0200 reportdesign: Drop unused com.sun.star.comp.report.XMLFullExporter While other services defined in the component file are actually used (s. e.g. OReportDefinition::storeToStorage), com.sun.star.comp.report.XMLFullExporter is apparently unused. Drop it. Change-Id: I19351e5bdb7d151bc209f418a3cb6ef9d1ec6050 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187912 Reviewed-by: Michael Weghorn <[email protected]> Tested-by: Jenkins diff --git a/reportdesign/source/filter/xml/xmlExport.cxx b/reportdesign/source/filter/xml/xmlExport.cxx index f6e870588afa..061a8f26f846 100644 --- a/reportdesign/source/filter/xml/xmlExport.cxx +++ b/reportdesign/source/filter/xml/xmlExport.cxx @@ -111,19 +111,6 @@ namespace rptxml SvXMLExportFlags::META )); } - /** Exports all - * \ingroup reportdesign_source_filter_xml - * - */ - extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* - reportdesign_ODBFullExportHelper_get_implementation( - css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any> const&) - { - return cppu::acquire(new ORptExport(context, - u"com.sun.star.comp.report.XMLFullExporter"_ustr, - SvXMLExportFlags::ALL)); - } - namespace { class OSpecialHandleXMLExportPropertyMapper : public SvXMLExportPropertyMapper diff --git a/reportdesign/util/rpt.component b/reportdesign/util/rpt.component index b1cf9692419a..428ecd772ef7 100644 --- a/reportdesign/util/rpt.component +++ b/reportdesign/util/rpt.component @@ -86,10 +86,6 @@ constructor="reportdesign_ORptContentExportHelper_get_implementation"> <service name="com.sun.star.document.ExportFilter"/> </implementation> - <implementation name="com.sun.star.comp.report.XMLFullExporter" - constructor="reportdesign_ODBFullExportHelper_get_implementation"> - <service name="com.sun.star.document.ExportFilter"/> - </implementation> <implementation name="com.sun.star.comp.report.XMLMetaExporter" constructor="reportdesign_ORptMetaExportHelper_get_implementation"> <service name="com.sun.star.document.ExportFilter"/>
