summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sc/ScFunctionListObj.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScFunctionListObj.java')
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScFunctionListObj.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScFunctionListObj.java b/qadevOOo/tests/java/mod/_sc/ScFunctionListObj.java
index 16c8a7b65e8e..ae2bc2023ab7 100644
--- a/qadevOOo/tests/java/mod/_sc/ScFunctionListObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScFunctionListObj.java
@@ -59,7 +59,7 @@ public class ScFunctionListObj 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" );
@@ -98,7 +98,7 @@ public class ScFunctionListObj extends TestCase {
log.println("Getting test object ") ;
- XMultiServiceFactory oDocMSF = (XMultiServiceFactory)Param.getMSF();
+ XMultiServiceFactory oDocMSF = Param.getMSF();
try {
oObj = (XInterface)oDocMSF.createInstance(
"com.sun.star.sheet.FunctionDescriptions");