summaryrefslogtreecommitdiffstats
path: root/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetLinksEnumeration.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetLinksEnumeration.java')
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetLinksEnumeration.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetLinksEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetLinksEnumeration.java
index 823825791feb..261739ad7ed9 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetLinksEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_SheetLinksEnumeration.java
@@ -102,8 +102,7 @@ public class ScIndexEnumeration_SheetLinksEnumeration extends TestCase {
com.sun.star.sheet.SheetLinkMode.VALUE);
// Getting links.
- XPropertySet docProps = (XPropertySet)
- UnoRuntime.queryInterface(XPropertySet.class, xSheetDoc);
+ XPropertySet docProps = UnoRuntime.queryInterface(XPropertySet.class, xSheetDoc);
Object links = null;
try {
@@ -116,7 +115,7 @@ public class ScIndexEnumeration_SheetLinksEnumeration extends TestCase {
throw new StatusException("Couldn't get SheetLinks", e);
}
- oObj = (XInterface)UnoRuntime.queryInterface(XInterface.class, links);
+ oObj = UnoRuntime.queryInterface(XInterface.class, links);
XEnumerationAccess ea = UnoRuntime.queryInterface(XEnumerationAccess.class,oObj);