summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-27 11:48:38 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-27 11:48:38 +0000
commitdaa069b413294a6c160526acc12afd59f4624d44 (patch)
tree1b6397f8e16d43a5f76677bcaeadea529d532aea /qadevOOo
parentb7448ba6aaba8381430844326d4c3f08f9d0d002 (diff)
INTEGRATION: CWS qadev6 (1.1.8); FILE MERGED
2003/05/21 10:56:12 sg 1.1.8.1: #109819# prepare devide of runner
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/mod/_fwl/FilterFactory.java7
-rw-r--r--qadevOOo/tests/java/mod/_fwl/FrameLoaderFactory.java7
2 files changed, 8 insertions, 6 deletions
diff --git a/qadevOOo/tests/java/mod/_fwl/FilterFactory.java b/qadevOOo/tests/java/mod/_fwl/FilterFactory.java
index 891505f4d631..61bba6609001 100644
--- a/qadevOOo/tests/java/mod/_fwl/FilterFactory.java
+++ b/qadevOOo/tests/java/mod/_fwl/FilterFactory.java
@@ -2,9 +2,9 @@
*
* $RCSfile: FilterFactory.java,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change:$Date: 2003-01-27 18:15:33 $
+ * last change:$Date: 2003-05-27 12:48:28 $
*
* 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;
@@ -111,7 +112,7 @@ public class FilterFactory extends TestCase {
//now get the OButtonControl
try {
- oInterface = Param.getMSF().createInstance
+ oInterface = ((XMultiServiceFactory)Param.getMSF()).createInstance
("com.sun.star.comp.framework.FilterFactory") ;
} catch (com.sun.star.uno.Exception e) {
log.println("Couldn't get service");
diff --git a/qadevOOo/tests/java/mod/_fwl/FrameLoaderFactory.java b/qadevOOo/tests/java/mod/_fwl/FrameLoaderFactory.java
index 130e619fb67f..39a3dbe49996 100644
--- a/qadevOOo/tests/java/mod/_fwl/FrameLoaderFactory.java
+++ b/qadevOOo/tests/java/mod/_fwl/FrameLoaderFactory.java
@@ -2,9 +2,9 @@
*
* $RCSfile: FrameLoaderFactory.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:38 $
*
* 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 FrameLoaderFactory extends TestCase {
//now get the OButtonControl
try {
- oInterface = Param.getMSF().createInstance
+ oInterface = ((XMultiServiceFactory)Param.getMSF()).createInstance
("com.sun.star.frame.FrameLoaderFactory") ;
} catch (com.sun.star.uno.Exception e) {
log.println("Couldn't get service");