summaryrefslogtreecommitdiffstats
path: root/qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java')
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java b/qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java
index 6b7ddd18b203..d19a94cb85e5 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java
@@ -45,7 +45,7 @@ public class _XGoalSeek extends MultiMethodTest {
XSpreadsheets oSheets = xSpreadsheetDocument.getSheets();
XIndexAccess oIndexSheets = UnoRuntime.queryInterface(
XIndexAccess.class, oSheets);
- xSheet = (XSpreadsheet) UnoRuntime.queryInterface(
+ xSheet = UnoRuntime.queryInterface(
XSpreadsheet.class, oIndexSheets.getByIndex(1));
}
catch(com.sun.star.lang.IndexOutOfBoundsException e) {