summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java')
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java
index 7930165ad743..b877bd73d49f 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java
@@ -58,8 +58,7 @@ public class ScIndexEnumeration_FunctionDescriptionEnumeration extends TestCase
*/
protected void cleanup( TestParameters tParam, PrintWriter log ) {
log.println( " disposing xSheetDoc " );
- XComponent oComp = (XComponent)
- UnoRuntime.queryInterface (XComponent.class, xSheetDoc) ;
+ XComponent oComp = UnoRuntime.queryInterface (XComponent.class, xSheetDoc) ;
util.DesktopTools.closeDoc(oComp);
}
@@ -85,8 +84,7 @@ public class ScIndexEnumeration_FunctionDescriptionEnumeration extends TestCase
"Error getting test object from spreadsheet document", e);
}
- XEnumerationAccess ea = (XEnumerationAccess)
- UnoRuntime.queryInterface(XEnumerationAccess.class,oObj);
+ XEnumerationAccess ea = UnoRuntime.queryInterface(XEnumerationAccess.class,oObj);
oObj = ea.createEnumeration();