summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sw/SwXParagraph.java
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-27 12:47:12 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-27 12:47:12 +0000
commit9f5eeeb5c6c3228dcb1b490d8d47d7c97393e103 (patch)
tree6acb21619d3eb5149d75fed818dd65cad32f56bf /qadevOOo/tests/java/mod/_sw/SwXParagraph.java
parentdbb1be9b0f21a743b61f9515d2c02a8f419aec9c (diff)
INTEGRATION: CWS qadev6 (1.2.8); FILE MERGED
2003/05/21 10:58:27 sg 1.2.8.1: #109819# prepare devide of runner
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw/SwXParagraph.java')
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXParagraph.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/SwXParagraph.java b/qadevOOo/tests/java/mod/_sw/SwXParagraph.java
index 1a08e3fbbd58..61dcd3c96e78 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXParagraph.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXParagraph.java
@@ -2,9 +2,9 @@
*
* $RCSfile: SwXParagraph.java,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change:$Date: 2003-02-06 11:29:37 $
+ * last change:$Date: 2003-05-27 13:47:12 $
*
* 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 com.sun.star.beans.XPropertySet;
+import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.container.XEnumeration;
import com.sun.star.container.XEnumerationAccess;
import com.sun.star.text.ControlCharacter;
@@ -171,7 +172,7 @@ public class SwXParagraph extends TestCase {
if (xTextDoc != null) {
xTextDoc.dispose();
}
- SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
+ SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF() );
try {
log.println( "creating a textdocument" );
xTextDoc = SOF.createTextDoc( null );