diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-09-03 21:35:16 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-09-04 09:11:39 +0200 |
commit | 739ce73e9957fa1f553f3246e5ed67de0f3eb47f (patch) | |
tree | ed871165dc696e7a21aba4f70973202df5469eaf /xmloff | |
parent | 1d203d95479d16049c2edb6fa6fc927c1d97067f (diff) |
xmloff: remove dead com.sun.star.comp.Draw.XMLStylesExporter
And test com.sun.star.comp.Draw.XMLOasisSettingsExporter 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.Draw.XMLSettingsExporter line, but let's not regress even more in that
code.
Change-Id: I04eb38aad193dfbfde5df42f3e367aa47dfd12ab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102019
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 0297c6f4e285..d5b8463b0d6e 100644 --- a/xmloff/source/draw/sdxmlexp.cxx +++ b/xmloff/source/draw/sdxmlexp.cxx @@ -2662,16 +2662,6 @@ com_sun_star_comp_Draw_XMLExporter_get_implementation(uno::XComponentContext* pC } extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface* -com_sun_star_comp_Draw_XMLStylesExporter_get_implementation(uno::XComponentContext* pCtx, - uno::Sequence<uno::Any> const& /*rSeq*/) -{ - return cppu::acquire(new SdXMLExport(pCtx, "XMLDrawStylesExportOOO", true, - SvXMLExportFlags::STYLES | SvXMLExportFlags::MASTERSTYLES - | SvXMLExportFlags::AUTOSTYLES - | SvXMLExportFlags::FONTDECLS)); -} - -extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface* com_sun_star_comp_Draw_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 12ffcad76bc2..4f08390ed5f8 100644 --- a/xmloff/util/xo.component +++ b/xmloff/util/xo.component @@ -95,10 +95,6 @@ constructor="com_sun_star_comp_Draw_XMLOasisSettingsExporter_get_implementation"> <service name="com.sun.star.comp.Draw.XMLOasisSettingsExporter"/> </implementation> - <implementation name="XMLDrawStylesExportOOO" - constructor="com_sun_star_comp_Draw_XMLStylesExporter_get_implementation"> - <service name="com.sun.star.comp.Draw.XMLStylesExporter"/> - </implementation> <implementation name="XMLDrawStylesExportOasis" constructor="com_sun_star_comp_Draw_XMLOasisStylesExporter_get_implementation"> <service name="com.sun.star.comp.Draw.XMLOasisStylesExporter"/> |