summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/frame/_XStorable.java
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-27 11:26:30 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-27 11:26:30 +0000
commit5378b5935e4af26b699eaeda6c9b7358a12cf17f (patch)
treea8f6a772fb12cb4748584eedae24e44c317d8c2e /qadevOOo/tests/java/ifc/frame/_XStorable.java
parent17d0e0d5f176409cd5384e0ae31dba429c7d1aa0 (diff)
INTEGRATION: CWS qadev6 (1.1.8); FILE MERGED
2003/05/21 10:53:51 sg 1.1.8.1: #109819# prepare devide of runner
Diffstat (limited to 'qadevOOo/tests/java/ifc/frame/_XStorable.java')
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XStorable.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/qadevOOo/tests/java/ifc/frame/_XStorable.java b/qadevOOo/tests/java/ifc/frame/_XStorable.java
index b1f4edc9c804..a8d4321bf232 100644
--- a/qadevOOo/tests/java/ifc/frame/_XStorable.java
+++ b/qadevOOo/tests/java/ifc/frame/_XStorable.java
@@ -2,9 +2,9 @@
*
* $RCSfile: _XStorable.java,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change:$Date: 2003-01-27 18:10:17 $
+ * last change:$Date: 2003-05-27 12:26:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,6 +62,7 @@
package ifc.frame;
import com.sun.star.beans.PropertyValue;
+import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.frame.XStorable;
import com.sun.star.io.IOException;
import lib.MultiMethodTest;
@@ -170,7 +171,8 @@ public class _XStorable extends MultiMethodTest {
*/
public void _storeAsURL() {
// getting an url to store
- String url = (String) utils.getOfficeTemp(tParam.getMSF());
+ String url = (String) utils.getOfficeTemp(
+ (XMultiServiceFactory)tParam.getMSF());
url += "xstorable.store.as.test";
if (url != null) {
@@ -196,7 +198,8 @@ public class _XStorable extends MultiMethodTest {
*/
public void _storeToURL() {
// getting an url to store
- String url = (String) utils.getOfficeTemp(tParam.getMSF());
+ String url = (String) utils.getOfficeTemp(
+ (XMultiServiceFactory)tParam.getMSF());
url += "xstorable.store.as.test";
if (url != null) {