diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-05-27 11:48:58 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-05-27 11:48:58 +0000 |
commit | 317b90a52ca9b005e027371a3d448fe7b766960f (patch) | |
tree | 5b6ccb75fc339f206027e13a5ed269c46a3e3cf1 /qadevOOo | |
parent | daa069b413294a6c160526acc12afd59f4624d44 (diff) |
INTEGRATION: CWS qadev6 (1.1.8); FILE MERGED
2003/05/21 10:56:13 sg 1.1.8.1: #109819# prepare devide of runner
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/tests/java/mod/_fwl/PathSettings.java | 7 | ||||
-rw-r--r-- | qadevOOo/tests/java/mod/_fwl/TypeDetection.java | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/qadevOOo/tests/java/mod/_fwl/PathSettings.java b/qadevOOo/tests/java/mod/_fwl/PathSettings.java index c77d41412dd3..ae58d1f12c6c 100644 --- a/qadevOOo/tests/java/mod/_fwl/PathSettings.java +++ b/qadevOOo/tests/java/mod/_fwl/PathSettings.java @@ -2,9 +2,9 @@ * * $RCSfile: PathSettings.java,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change:$Date: 2003-01-27 18:15:32 $ + * last change:$Date: 2003-05-27 12:48:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -62,6 +62,7 @@ package mod._fwl; import com.sun.star.beans.PropertyValue; +import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.container.XNameAccess; import com.sun.star.uno.UnoRuntime; import com.sun.star.uno.XInterface; @@ -109,7 +110,7 @@ public class PathSettings extends TestCase { //now get the OButtonControl try { - oInterface = Param.getMSF().createInstance + oInterface = ((XMultiServiceFactory)Param.getMSF()).createInstance ("com.sun.star.comp.framework.PathSettings") ; } catch (com.sun.star.uno.Exception e) { log.println("Couldn't get service"); diff --git a/qadevOOo/tests/java/mod/_fwl/TypeDetection.java b/qadevOOo/tests/java/mod/_fwl/TypeDetection.java index c12f7457843c..e60dba069372 100644 --- a/qadevOOo/tests/java/mod/_fwl/TypeDetection.java +++ b/qadevOOo/tests/java/mod/_fwl/TypeDetection.java @@ -2,9 +2,9 @@ * * $RCSfile: TypeDetection.java,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change:$Date: 2003-01-27 18:15:31 $ + * last change:$Date: 2003-05-27 12:48:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -62,6 +62,7 @@ package mod._fwl; import com.sun.star.container.XNameAccess; +import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.uno.UnoRuntime; import com.sun.star.uno.XInterface; import java.io.PrintWriter; @@ -104,7 +105,7 @@ public class TypeDetection extends TestCase { //now get the OButtonControl try { - oInterface = Param.getMSF().createInstance + oInterface = ((XMultiServiceFactory)Param.getMSF()).createInstance ("com.sun.star.document.TypeDetection") ; } catch (com.sun.star.uno.Exception e) { log.println("Couldn't get service"); |