diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_xmloff/Draw')
-rw-r--r-- | qadevOOo/tests/java/mod/_xmloff/Draw/XMLImporter.java | 23 | ||||
-rw-r--r-- | qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaExporter.java | 20 |
2 files changed, 22 insertions, 21 deletions
diff --git a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLImporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLImporter.java index 7e89692ff7d4..0ac1521ef840 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLImporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLImporter.java @@ -2,9 +2,9 @@ * * $RCSfile: XMLImporter.java,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change:$Date: 2003-05-27 14:12:30 $ + * last change:$Date: 2003-09-08 13:16:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -61,20 +61,21 @@ package mod._xmloff.Draw; +import java.io.PrintWriter; + +import lib.StatusException; +import lib.TestCase; +import lib.TestEnvironment; +import lib.TestParameters; +import util.SOfficeFactory; + import com.sun.star.container.XNamed; -import com.sun.star.document.XImporter; import com.sun.star.drawing.XDrawPages; import com.sun.star.drawing.XDrawPagesSupplier; import com.sun.star.lang.XComponent; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.uno.UnoRuntime; import com.sun.star.uno.XInterface; -import java.io.PrintWriter; -import lib.StatusException; -import lib.TestCase; -import lib.TestEnvironment; -import lib.TestParameters; -import util.SOfficeFactory; /** * Test for object which is represented by service @@ -163,9 +164,7 @@ public class XMLImporter extends TestCase { try { oInt = xMSF.createInstance("com.sun.star.comp.Draw.XMLImporter") ; - XImporter imp = (XImporter) - UnoRuntime.queryInterface(XImporter.class, oInt) ; - //imp.setTargetDocument(xDrawDoc); + } catch (com.sun.star.uno.Exception e) { e.printStackTrace(log) ; throw new StatusException("Can't create component.", e) ; diff --git a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaExporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaExporter.java index eafd72481c9f..0bfca16e7d2c 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaExporter.java @@ -2,9 +2,9 @@ * * $RCSfile: XMLMetaExporter.java,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change:$Date: 2003-05-27 14:12:42 $ + * last change:$Date: 2003-09-08 13:16:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -61,6 +61,15 @@ package mod._xmloff.Draw; +import java.io.PrintWriter; + +import lib.StatusException; +import lib.TestCase; +import lib.TestEnvironment; +import lib.TestParameters; +import util.SOfficeFactory; +import util.XMLTools; + import com.sun.star.beans.XPropertySet; import com.sun.star.document.XDocumentInfoSupplier; import com.sun.star.document.XExporter; @@ -72,13 +81,6 @@ import com.sun.star.uno.Type; import com.sun.star.uno.UnoRuntime; import com.sun.star.uno.XInterface; import com.sun.star.xml.sax.XDocumentHandler; -import java.io.PrintWriter; -import lib.StatusException; -import lib.TestCase; -import lib.TestEnvironment; -import lib.TestParameters; -import util.SOfficeFactory; -import util.XMLTools; /** * Test for object which is represented by service |