diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_xmloff/Draw/XMLImporter.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_xmloff/Draw/XMLImporter.java | 23 |
1 files changed, 11 insertions, 12 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) ; |