summaryrefslogtreecommitdiffstats
path: root/qadevOOo/runner/helper/StreamSimulator.java
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-27 11:03:16 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-27 11:03:16 +0000
commit12c4a3dcd26daead03b25c95b83c44d83432a9f4 (patch)
tree8b5669612c22c1887eca33927d4c7e7810e4e464 /qadevOOo/runner/helper/StreamSimulator.java
parentINTEGRATION: CWS qadev6 (1.1.8); FILE MERGED (diff)
downloadcore-12c4a3dcd26daead03b25c95b83c44d83432a9f4.tar.gz
core-12c4a3dcd26daead03b25c95b83c44d83432a9f4.zip
INTEGRATION: CWS qadev6 (1.1.8); FILE MERGED
2003/05/21 10:45:45 sg 1.1.8.1: #109819# prepare devide of runner
Diffstat (limited to 'qadevOOo/runner/helper/StreamSimulator.java')
-rw-r--r--qadevOOo/runner/helper/StreamSimulator.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/qadevOOo/runner/helper/StreamSimulator.java b/qadevOOo/runner/helper/StreamSimulator.java
index cb1abb9ed297..0755df5d8249 100644
--- a/qadevOOo/runner/helper/StreamSimulator.java
+++ b/qadevOOo/runner/helper/StreamSimulator.java
@@ -2,9 +2,9 @@
*
* $RCSfile: StreamSimulator.java,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Date: 2003-01-27 16:27:32 $
+ * last change: $Date: 2003-05-27 12:03:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -65,6 +65,7 @@ import com.sun.star.uno.UnoRuntime;
import com.sun.star.lang.DisposedException;
+import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.uno.RuntimeException;
import com.sun.star.uno.Exception;
import com.sun.star.ucb.XSimpleFileAccess;
@@ -135,7 +136,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream ,
{
XSimpleFileAccess xHelper = (XSimpleFileAccess)
UnoRuntime.queryInterface(XSimpleFileAccess.class,
- param.getMSF().createInstance("com.sun.star.ucb.SimpleFileAccess"));
+ ((XMultiServiceFactory)param.getMSF()).createInstance("com.sun.star.ucb.SimpleFileAccess"));
/* com.sun.star.ucb.XSimpleFileAccess xHelper = (com.sun.star.ucb.XSimpleFileAccess)OfficeConnect.createRemoteInstance(
com.sun.star.ucb.XSimpleFileAccess.class,
"com.sun.star.ucb.SimpleFileAccess");*/