summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/sheet/_XSheetFilterable.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/sheet/_XSheetFilterable.java')
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetFilterable.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetFilterable.java b/qadevOOo/tests/java/ifc/sheet/_XSheetFilterable.java
index 892fadee5961..b230bd0b866d 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetFilterable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetFilterable.java
@@ -42,7 +42,7 @@ public class _XSheetFilterable extends MultiMethodTest {
if (oSheet == null) {
log.println("Object relation oSheet is missing");
log.println("Trying to query the needed Interface");
- oSheet = (XSpreadsheet) UnoRuntime.queryInterface(
+ oSheet = UnoRuntime.queryInterface(
XSpreadsheet.class, tEnv.getTestObject());
if (oSheet == null) {
@@ -85,8 +85,8 @@ public class _XSheetFilterable extends MultiMethodTest {
XColumnRowRange oColumnRowRange = UnoRuntime.queryInterface(
XColumnRowRange.class,
oSheet);
- XTableRows oRows = (XTableRows) oColumnRowRange.getRows();
- XPropertySet rowProp = (XPropertySet) UnoRuntime.queryInterface(
+ XTableRows oRows = oColumnRowRange.getRows();
+ XPropertySet rowProp = UnoRuntime.queryInterface(
XPropertySet.class,
oRows.getByIndex(0));
boolean locRes = ((Boolean) rowProp.getPropertyValue("IsVisible")).booleanValue();
@@ -98,7 +98,7 @@ public class _XSheetFilterable extends MultiMethodTest {
res &= true;
}
- rowProp = (XPropertySet) UnoRuntime.queryInterface(
+ rowProp = UnoRuntime.queryInterface(
XPropertySet.class, oRows.getByIndex(1));
locRes = ((Boolean) rowProp.getPropertyValue("IsVisible")).booleanValue();