Kaydet (Commit) 4cf3a734 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS qadev11 (1.2.14); FILE MERGED

2003/09/03 15:34:11 sw 1.2.14.1: #112049#
üst 2255a7c7
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: XMLSettingsExporter.java,v $ * $RCSfile: XMLSettingsExporter.java,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change:$Date: 2003-05-27 13:28:14 $ * last change:$Date: 2003-09-08 12:30:21 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -61,6 +61,15 @@ ...@@ -61,6 +61,15 @@
package mod._sm; package mod._sm;
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.beans.XPropertySet;
import com.sun.star.document.XExporter; import com.sun.star.document.XExporter;
import com.sun.star.lang.XComponent; import com.sun.star.lang.XComponent;
...@@ -70,13 +79,6 @@ import com.sun.star.uno.Type; ...@@ -70,13 +79,6 @@ import com.sun.star.uno.Type;
import com.sun.star.uno.UnoRuntime; import com.sun.star.uno.UnoRuntime;
import com.sun.star.uno.XInterface; import com.sun.star.uno.XInterface;
import com.sun.star.xml.sax.XDocumentHandler; 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 * Test for object which is represented by service
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: XMLSettingsImporter.java,v $ * $RCSfile: XMLSettingsImporter.java,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change:$Date: 2003-05-27 13:28:25 $ * last change:$Date: 2003-09-08 12:30:32 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -61,19 +61,20 @@ ...@@ -61,19 +61,20 @@
package mod._sm; package mod._sm;
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;
import java.io.PrintWriter; import java.io.PrintWriter;
import lib.StatusException; import lib.StatusException;
import lib.TestCase; import lib.TestCase;
import lib.TestEnvironment; import lib.TestEnvironment;
import lib.TestParameters; import lib.TestParameters;
import util.SOfficeFactory; import util.SOfficeFactory;
import com.sun.star.beans.XPropertySet;
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 * Test for object which is represented by service
* <code>com.sun.star.comp.Math.XMLSettingsImporter</code>. <p> * <code>com.sun.star.comp.Math.XMLSettingsImporter</code>. <p>
...@@ -152,13 +153,10 @@ public class XMLSettingsImporter extends TestCase { ...@@ -152,13 +153,10 @@ public class XMLSettingsImporter extends TestCase {
XInterface oObj = null; XInterface oObj = null;
final short impMargin = 67 ; final short impMargin = 67 ;
final XDocumentInfoSupplier xDocInfoSup ;
try { try {
oObj = (XInterface)xMSF.createInstance( oObj = (XInterface)xMSF.createInstance(
"com.sun.star.comp.Math.XMLSettingsImporter"); "com.sun.star.comp.Math.XMLSettingsImporter");
xDocInfoSup = (XDocumentInfoSupplier)
UnoRuntime.queryInterface(XDocumentInfoSupplier.class, xMathDoc) ;
} catch (com.sun.star.uno.Exception e) { } catch (com.sun.star.uno.Exception e) {
e.printStackTrace(log); e.printStackTrace(log);
throw new StatusException("Unexpected exception", e); throw new StatusException("Unexpected exception", e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment