summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-27 11:26:11 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-27 11:26:11 +0000
commit17d0e0d5f176409cd5384e0ae31dba429c7d1aa0 (patch)
tree35530f0b14675419677a31c6c5adbe963a25347e /qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java
parent65f0cf3d6180c1013803ff50925439ce661e7aa2 (diff)
INTEGRATION: CWS qadev6 (1.1.8); FILE MERGED
2003/05/21 10:53:50 sg 1.1.8.1: #109819# prepare devide of runner
Diffstat (limited to 'qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java')
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java b/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java
index 07a9fb8f69bc..ab00619afb78 100644
--- a/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java
+++ b/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java
@@ -2,9 +2,9 @@
*
* $RCSfile: _XDispatchRecorder.java,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change:$Date: 2003-01-27 18:10:22 $
+ * last change:$Date: 2003-05-27 12:25:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -66,6 +66,7 @@ import com.sun.star.frame.XDispatch;
import com.sun.star.frame.XDispatchProvider;
import com.sun.star.frame.XDispatchRecorder;
import com.sun.star.frame.XFrame;
+import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.util.URL;
import lib.MultiMethodTest;
@@ -110,7 +111,7 @@ public class _XDispatchRecorder extends MultiMethodTest {
public void _endRecording() {
requiredMethod("startRecording()");
- dispURL = utils.parseURL(tParam.getMSF(), ".uno:InsertText");
+ dispURL = utils.parseURL((XMultiServiceFactory)tParam.getMSF(), ".uno:InsertText");
PropertyValue prop = new PropertyValue();
prop.Name = "Text";
@@ -145,7 +146,7 @@ public class _XDispatchRecorder extends MultiMethodTest {
public void _recordDispatch() {
executeMethod("endRecording()");
- dispURL = utils.parseURL(tParam.getMSF(), ".uno:InsertText");
+ dispURL = utils.parseURL((XMultiServiceFactory)tParam.getMSF(), ".uno:InsertText");
PropertyValue prop = new PropertyValue();
prop.Name = "Text";
@@ -172,7 +173,7 @@ public class _XDispatchRecorder extends MultiMethodTest {
public void _recordDispatchAsComment() {
executeMethod("endRecording()");
- dispURL = utils.parseURL(tParam.getMSF(), ".uno:InsertText");
+ dispURL = utils.parseURL((XMultiServiceFactory)tParam.getMSF(), ".uno:InsertText");
PropertyValue prop = new PropertyValue();
prop.Name = "Text";