diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-09-08 12:18:41 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-09-08 12:18:41 +0000 |
commit | 21a384a865fec428775c933aa041f3b035946c21 (patch) | |
tree | c2e5886547ff83fb66c085b46563aa90eb6a7501 /qadevOOo/tests/java/mod/_xmloff/Impress | |
parent | c755957d28c13eaf0f47fcb2f5548cd926c605a8 (diff) |
INTEGRATION: CWS qadev11 (1.2.14); FILE MERGED
2003/09/03 15:35:46 sw 1.2.14.1: #112049#
Diffstat (limited to 'qadevOOo/tests/java/mod/_xmloff/Impress')
3 files changed, 33 insertions, 29 deletions
diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaExporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaExporter.java index 76e1afcb30c3..9b5db68bd485 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaExporter.java @@ -2,9 +2,9 @@ * * $RCSfile: XMLMetaExporter.java,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change:$Date: 2003-05-27 14:14:26 $ + * last change:$Date: 2003-09-08 13:18:20 $ * * 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.Impress; +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 diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaImporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaImporter.java index 7ca45d7909f9..f224f3e8c258 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaImporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaImporter.java @@ -2,9 +2,9 @@ * * $RCSfile: XMLMetaImporter.java,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change:$Date: 2003-05-27 14:14:37 $ + * last change:$Date: 2003-09-08 13:18:29 $ * * 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.Impress; -import com.sun.star.beans.XPropertySet; -import com.sun.star.document.XDocumentInfoSupplier; -import com.sun.star.document.XImporter; -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; +import com.sun.star.beans.XPropertySet; +import com.sun.star.document.XDocumentInfoSupplier; +import com.sun.star.lang.XComponent; +import com.sun.star.lang.XMultiServiceFactory; +import com.sun.star.uno.UnoRuntime; +import com.sun.star.uno.XInterface; + /** * Test for object which is represented by service * <code>com.sun.star.comp.Impress.XMLMetaImporter</code>. <p> @@ -164,8 +165,7 @@ public class XMLMetaImporter extends TestCase { try { oInt = xMSF.createInstance ("com.sun.star.comp.Impress.XMLMetaImporter") ; - XImporter imp = (XImporter) - UnoRuntime.queryInterface(XImporter.class, oInt) ; + } 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/Impress/XMLSettingsExporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java index 9a4fcb4c61b0..7251b81f7d70 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java @@ -2,9 +2,9 @@ * * $RCSfile: XMLSettingsExporter.java,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change:$Date: 2003-05-27 14:14:48 $ + * last change:$Date: 2003-09-08 13:18:41 $ * * 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.Impress; +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.XExporter; import com.sun.star.frame.XController; @@ -73,13 +82,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 |