diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.java b/qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.java index affd1dbaeefd..5177c8e666af 100644 --- a/qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScRecentFunctionsObj.java @@ -51,7 +51,7 @@ public class ScRecentFunctionsObj extends TestCase { * Creates Spreadsheet 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 Spreadsheet document" ); @@ -95,7 +95,7 @@ public class ScRecentFunctionsObj extends TestCase { try { log.println("Getting test object ") ; - XMultiServiceFactory oDocMSF = (XMultiServiceFactory)Param.getMSF(); + XMultiServiceFactory oDocMSF = Param.getMSF(); oObj = (XInterface)oDocMSF.createInstance( "com.sun.star.sheet.RecentFunctions"); allFunctions = (XInterface)oDocMSF.createInstance( |