summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java')
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java
index 18d33a96334b..da56fbb3071c 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java
@@ -217,7 +217,7 @@ public class _XDataPilotTable2 extends MultiMethodTest
XSpreadsheet xSheet = null;
try
{
- xSheet = (XSpreadsheet)UnoRuntime.queryInterface(
+ xSheet = UnoRuntime.queryInterface(
XSpreadsheet.class, xIA.getByIndex(addr.Sheet));
}
catch (com.sun.star.uno.Exception e)
@@ -425,7 +425,7 @@ public class _XDataPilotTable2 extends MultiMethodTest
try
{
Object field = xFields.getByIndex(i);
- XPropertySet propSet = (XPropertySet)UnoRuntime.queryInterface(
+ XPropertySet propSet = UnoRuntime.queryInterface(
XPropertySet.class, field);
DataPilotFieldOrientation orient =
(DataPilotFieldOrientation)propSet.getPropertyValue("Orientation");