summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-27 11:56:23 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-27 11:56:23 +0000
commit0b27870c34cc0f87607f64df0170bbe12f818f5f (patch)
treeb446768e4b65685e53ab8d57cdd9d93d85571d0a
parent801f0e2dc35abc2efa9edd281e77c5aa23607170 (diff)
INTEGRATION: CWS qadev6 (1.1.8); FILE MERGED
2003/05/21 10:56:32 sg 1.1.8.1: #109819# prepare devide of runner
-rw-r--r--qadevOOo/tests/java/mod/_odbc/ODBCDriver.java9
-rw-r--r--qadevOOo/tests/java/mod/_proxyfac/ProxyFactory.java6
2 files changed, 8 insertions, 7 deletions
diff --git a/qadevOOo/tests/java/mod/_odbc/ODBCDriver.java b/qadevOOo/tests/java/mod/_odbc/ODBCDriver.java
index 818e4f1982a0..5427ba4e5df6 100644
--- a/qadevOOo/tests/java/mod/_odbc/ODBCDriver.java
+++ b/qadevOOo/tests/java/mod/_odbc/ODBCDriver.java
@@ -2,9 +2,9 @@
*
* $RCSfile: ODBCDriver.java,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change:$Date: 2003-01-27 18:16:01 $
+ * last change:$Date: 2003-05-27 12:56:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,6 +62,7 @@
package mod._odbc;
import lib.TestCase;
+import com.sun.star.lang.XMultiServiceFactory;
import lib.TestParameters;
import java.io.PrintWriter;
import lib.TestEnvironment;
@@ -99,7 +100,7 @@ public class ODBCDriver extends TestCase {
XInterface oObj = null;
try {
- oObj = (XInterface)Param.getMSF().createInstance(
+ oObj = (XInterface)((XMultiServiceFactory)Param.getMSF()).createInstance(
"com.sun.star.comp.sdbc.ODBCDriver");
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace(log);
@@ -129,4 +130,4 @@ public class ODBCDriver extends TestCase {
return tEnv;
}
-} \ No newline at end of file
+}
diff --git a/qadevOOo/tests/java/mod/_proxyfac/ProxyFactory.java b/qadevOOo/tests/java/mod/_proxyfac/ProxyFactory.java
index 57855afc521a..7a679db6d86e 100644
--- a/qadevOOo/tests/java/mod/_proxyfac/ProxyFactory.java
+++ b/qadevOOo/tests/java/mod/_proxyfac/ProxyFactory.java
@@ -2,9 +2,9 @@
*
* $RCSfile: ProxyFactory.java,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change:$Date: 2003-01-27 18:16:03 $
+ * last change:$Date: 2003-05-27 12:56:23 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -92,7 +92,7 @@ public class ProxyFactory extends TestCase {
*/
protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log) {
- XMultiServiceFactory xMSF = tParam.getMSF();
+ XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();
try {
XInterface xInt = (XInterface)xMSF.createInstance(