From 39bdb12a57b7606029bae33e3fe26634ca8a891b Mon Sep 17 00:00:00 2001 From: Miklos Vajna <vmiklos@collabora.com> 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 <vmiklos@collabora.com> --- qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qadevOOo') diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java index 588909433618..2a44f8a8ed6b 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java @@ -42,7 +42,7 @@ import com.sun.star.xml.sax.XDocumentHandler; /** * Test for object which is represented by service - * <code>com.sun.star.comp.Impress.XMLStylesExporter</code>. <p> + * <code>com.sun.star.comp.Impress.XMLOasisStylesExporter</code>. <p> * Object implements the following interfaces : * <ul> * <li><code>com::sun::star::lang::XInitialization</code></li> @@ -90,7 +90,7 @@ public class XMLStylesExporter extends TestCase { /** * Creating a TestEnvironment for the interfaces to be tested. * Creates an instance of the service - * <code>com.sun.star.comp.Impress.XMLStylesExporter</code> with + * <code>com.sun.star.comp.Impress.XMLOasisStylesExporter</code> with * argument which is an implementation of <code>XDocumentHandler</code> * and which can check if required tags and character data is * exported. <p> @@ -125,7 +125,7 @@ public class XMLStylesExporter extends TestCase { filter.addTag(new XMLTools.Tag("style:style","style:name", newName)); oObj = (XInterface) xMSF.createInstanceWithArguments( - "com.sun.star.comp.Impress.XMLStylesExporter", + "com.sun.star.comp.Impress.XMLOasisStylesExporter", new Object[] {arg}); XExporter xEx = UnoRuntime.queryInterface(XExporter.class,oObj); xEx.setSourceDocument(xImpressDoc); -- cgit