diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-07-16 21:45:36 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-07-17 09:08:11 +0200 |
commit | 39bdb12a57b7606029bae33e3fe26634ca8a891b (patch) | |
tree | e7130ef5eeda0f2d48e0db148fd8b011c545bdac /xmloff | |
parent | 4d78d8a0648bbbbacabb0a3e809f8788b37b1396 (diff) |
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 <vmiklos@collabora.com>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/sdxmlexp.cxx | 10 | ||||
-rw-r--r-- | xmloff/util/xo.component | 4 |
2 files changed, 0 insertions, 14 deletions
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 @@ -2634,16 +2634,6 @@ com_sun_star_comp_Impress_XMLOasisSettingsExporter_get_implementation( } extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface* -com_sun_star_comp_Impress_XMLStylesExporter_get_implementation( - uno::XComponentContext* pCtx, uno::Sequence<uno::Any> 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<uno::Any> const& /*rSeq*/) { diff --git a/xmloff/util/xo.component b/xmloff/util/xo.component index 809ecf340ae5..84c9a4e2fe26 100644 --- a/xmloff/util/xo.component +++ b/xmloff/util/xo.component @@ -171,10 +171,6 @@ constructor="com_sun_star_comp_Impress_XMLOasisSettingsImporter_get_implementation"> <service name="com.sun.star.comp.Impress.XMLOasisSettingsImporter"/> </implementation> - <implementation name="XMLImpressStylesExportOOO" - constructor="com_sun_star_comp_Impress_XMLStylesExporter_get_implementation"> - <service name="com.sun.star.comp.Impress.XMLStylesExporter"/> - </implementation> <implementation name="XMLImpressStylesExportOasis" constructor="com_sun_star_comp_Impress_XMLOasisStylesExporter_get_implementation"> <service name="com.sun.star.comp.Impress.XMLOasisStylesExporter"/> |