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/XMLMetaImporter.java | |
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/XMLMetaImporter.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaImporter.java | 22 |
1 files changed, 11 insertions, 11 deletions
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) ; |