From 39bdb12a57b7606029bae33e3fe26634ca8a891b Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 16 Jul 2020 21:45:36 +0200 Subject: xmloff: remove dead com.sun.star.comp.Impress.XMLStylesExporter And test com.sun.star.comp.Impress.XMLOasisStylesExporter instead in JunitTest_xmloff_unoapi. Note that the test code is also dead at the moment, because xmloff/qa/unoapi/xmloff.sce disables the xmloff.Impress.XMLStylesExporter line, but let's not regress even more in that code. Change-Id: I7912ce45421b9a2d5209696c6ec4074b15111f86 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98930 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- xmloff/source/draw/sdxmlexp.cxx | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'xmloff/source/draw') diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx index 57c42fa23c33..f00d1702b6dd 100644 --- a/xmloff/source/draw/sdxmlexp.cxx +++ b/xmloff/source/draw/sdxmlexp.cxx @@ -2633,16 +2633,6 @@ com_sun_star_comp_Impress_XMLOasisSettingsExporter_get_implementation( SvXMLExportFlags::OASIS | SvXMLExportFlags::SETTINGS)); } -extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface* -com_sun_star_comp_Impress_XMLStylesExporter_get_implementation( - uno::XComponentContext* pCtx, uno::Sequence const& /*rSeq*/) -{ - return cppu::acquire(new SdXMLExport(pCtx, "XMLImpressStylesExportOOO", false, - SvXMLExportFlags::STYLES | SvXMLExportFlags::MASTERSTYLES - | SvXMLExportFlags::AUTOSTYLES - | SvXMLExportFlags::FONTDECLS)); -} - extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface* com_sun_star_comp_Impress_XMLContentExporter_get_implementation( uno::XComponentContext* pCtx, uno::Sequence const& /*rSeq*/) -- cgit