summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvCell.java
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-27 11:58:30 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-27 11:58:30 +0000
commita0f4e0af2e0fdb582c1d326b505c748cfcf36f2b (patch)
tree28ca491bb11cf83fa9ed4bd4aac6305288c41d5f /qadevOOo/tests/java/mod/_sc/ScAccessibleCsvCell.java
parent831becd8d76480ac8df58b43503915afb3c0f8ad (diff)
INTEGRATION: CWS qadev6 (1.3.2); FILE MERGED
2003/05/21 10:56:37 sg 1.3.2.1: #109819# prepare devide of runner
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScAccessibleCsvCell.java')
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAccessibleCsvCell.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvCell.java b/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvCell.java
index 4357d50c4d19..e19b66aee0d0 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvCell.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvCell.java
@@ -2,9 +2,9 @@
*
* $RCSfile: ScAccessibleCsvCell.java,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Date: 2003-04-28 12:24:54 $
+ * last change: $Date: 2003-05-27 12:58:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,6 +62,7 @@
package mod._sc;
import com.sun.star.awt.XWindow;
+import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.beans.PropertyValue;
import com.sun.star.container.XIndexAccess;
import com.sun.star.frame.XController;
@@ -111,7 +112,7 @@ public class ScAccessibleCsvCell extends TestCase {
shortWait();
try {
- oObj = (XInterface) tParam.getMSF().createInstance
+ oObj = (XInterface) ((XMultiServiceFactory)tParam.getMSF()).createInstance
("com.sun.star.awt.Toolkit") ;
} catch (com.sun.star.uno.Exception e) {
log.println("Couldn't get toolkit");
@@ -195,7 +196,7 @@ public class ScAccessibleCsvCell extends TestCase {
*/
protected void initialize(TestParameters Param, PrintWriter log) {
// get a soffice factory object
- SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF());
+ SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)Param.getMSF());
log.println("opening dialog");
@@ -203,7 +204,7 @@ public class ScAccessibleCsvCell extends TestCase {
try {
args[0] = new PropertyValue();
args[0].Name = "InteractionHandler";
- args[0].Value = Param.getMSF().createInstance(
+ args[0].Value = ((XMultiServiceFactory)Param.getMSF()).createInstance(
"com.sun.star.comp.uui.UUIInteractionHandler");
} catch(com.sun.star.uno.Exception e) {
}