summaryrefslogtreecommitdiffstats
path: root/qadevOOo/tests/java/mod/_sw/SwXTextView.java
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-27 12:54:21 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-27 12:54:21 +0000
commit41b8f203312df3574f4c421b78caef94103af451 (patch)
tree260d0103cd5b6e095ebee4b974134d63e52d1956 /qadevOOo/tests/java/mod/_sw/SwXTextView.java
parentINTEGRATION: CWS qadev6 (1.2.8); FILE MERGED (diff)
downloadcore-41b8f203312df3574f4c421b78caef94103af451.tar.gz
core-41b8f203312df3574f4c421b78caef94103af451.zip
INTEGRATION: CWS qadev6 (1.1.8); FILE MERGED
2003/05/21 10:58:39 sg 1.1.8.1: #109819# prepare devide of runner
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw/SwXTextView.java')
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextView.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/SwXTextView.java b/qadevOOo/tests/java/mod/_sw/SwXTextView.java
index 166bae720649..62a5184fcbe9 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextView.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextView.java
@@ -2,9 +2,9 @@
*
* $RCSfile: SwXTextView.java,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change:$Date: 2003-01-27 18:18:22 $
+ * last change:$Date: 2003-05-27 13:54:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,6 +62,7 @@
package mod._sw;
import java.io.PrintWriter;
+import com.sun.star.lang.XMultiServiceFactory;
import java.util.Comparator;
import com.sun.star.container.XIndexAccess;
@@ -108,7 +109,7 @@ public class SwXTextView extends TestCase {
*
*/
protected void initialize( TestParameters tParam, PrintWriter log ) {
- SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
+ SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF() );
try {
log.println( "creating a textdocument" );
@@ -162,7 +163,7 @@ public class SwXTextView extends TestCase {
util.dbg.getSuppServices(xContr);
- SOfficeFactory SOF=SOfficeFactory.getFactory( tParam.getMSF() );
+ SOfficeFactory SOF=SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF() );
XTextFrame first =null;
XTextFrame second =null;