summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sw/SwXStyleFamily.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw/SwXStyleFamily.java')
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXStyleFamily.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/SwXStyleFamily.java b/qadevOOo/tests/java/mod/_sw/SwXStyleFamily.java
index e2fdb12febd6..4550cec18f08 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXStyleFamily.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXStyleFamily.java
@@ -69,7 +69,7 @@ public class SwXStyleFamily extends TestCase {
* Creates text document.
*/
protected void initialize( TestParameters tParam, PrintWriter log ) {
- SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF() );
+ SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
try {
log.println( "creating a textdocument" );
xTextDoc = SOF.createTextDoc( null );
@@ -120,7 +120,7 @@ public class SwXStyleFamily extends TestCase {
log.println( "Creating Test Environment..." );
- SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)Param.getMSF());
+ SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF());
XComponent xComp = UnoRuntime.queryInterface(XComponent.class, xTextDoc);
XInterface oInstance = (XInterface)
SOF.createInstance(xComp, "com.sun.star.style.CharacterStyle");