diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw/SwXFieldMaster.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sw/SwXFieldMaster.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/SwXFieldMaster.java b/qadevOOo/tests/java/mod/_sw/SwXFieldMaster.java index 44af7e26ac31..b570ad3d322f 100644 --- a/qadevOOo/tests/java/mod/_sw/SwXFieldMaster.java +++ b/qadevOOo/tests/java/mod/_sw/SwXFieldMaster.java @@ -84,8 +84,7 @@ public class SwXFieldMaster extends TestCase { log.println( "creating a test environment" ); try { - XMultiServiceFactory oDocMSF = (XMultiServiceFactory) - UnoRuntime.queryInterface( XMultiServiceFactory.class, xTextDoc ); + XMultiServiceFactory oDocMSF = UnoRuntime.queryInterface( XMultiServiceFactory.class, xTextDoc ); oObj = (XInterface) oDocMSF.createInstance( "com.sun.star.text.FieldMaster.Database" ); } catch ( com.sun.star.uno.Exception e ) { |