summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_xmloff/Draw
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-09-08 12:17:27 +0000
committerRüdiger Timm <rt@openoffice.org>2003-09-08 12:17:27 +0000
commitcb377cffc0e42b9957b5b80dfa923f3c977cf514 (patch)
treec2e4e2b58013aba364c16d332d010428e6311aaf /qadevOOo/tests/java/mod/_xmloff/Draw
parent95a36b4e3b642269709bb69d57a0508c46f8327f (diff)
INTEGRATION: CWS qadev11 (1.2.14); FILE MERGED
2003/09/03 15:35:41 sw 1.2.14.1: #112049#
Diffstat (limited to 'qadevOOo/tests/java/mod/_xmloff/Draw')
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Draw/XMLSettingsImporter.java23
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesExporter.java20
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesImporter.java23
3 files changed, 33 insertions, 33 deletions
diff --git a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLSettingsImporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLSettingsImporter.java
index 6ddd55c8dedc..3a15b43bbe90 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLSettingsImporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLSettingsImporter.java
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLSettingsImporter.java,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change:$Date: 2003-05-27 14:13:13 $
+ * last change:$Date: 2003-09-08 13:17:04 $
*
* 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.beans.XPropertySet;
-import com.sun.star.document.XImporter;
import com.sun.star.frame.XController;
import com.sun.star.frame.XModel;
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
@@ -165,9 +166,7 @@ public class XMLSettingsImporter extends TestCase {
try {
oInt = xMSF.createInstance
("com.sun.star.comp.Draw.XMLSettingsImporter") ;
- 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/XMLStylesExporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesExporter.java
index 49e4422fd92e..ece841743d03 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesExporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesExporter.java
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLStylesExporter.java,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change:$Date: 2003-05-27 14:13:23 $
+ * last change:$Date: 2003-09-08 13:17:15 $
*
* 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.container.XNameAccess;
import com.sun.star.container.XNameContainer;
import com.sun.star.document.XExporter;
@@ -74,13 +83,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/Draw/XMLStylesImporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesImporter.java
index 711583ca1a1c..d6f3bd048b7b 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesImporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesImporter.java
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLStylesImporter.java,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change:$Date: 2003-05-27 14:13:34 $
+ * last change:$Date: 2003-09-08 13:17:27 $
*
* 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.XNameAccess;
import com.sun.star.container.XNameContainer;
-import com.sun.star.document.XImporter;
import com.sun.star.lang.XComponent;
import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.style.XStyleFamiliesSupplier;
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
@@ -165,9 +166,7 @@ public class XMLStylesImporter extends TestCase {
try {
oInt = xMSF.createInstance
("com.sun.star.comp.Draw.XMLStylesImporter") ;
- 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) ;