summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sc/ScTableConditionalFormat.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScTableConditionalFormat.java')
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScTableConditionalFormat.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScTableConditionalFormat.java b/qadevOOo/tests/java/mod/_sc/ScTableConditionalFormat.java
index 47b893ad0814..ee764f24f3ef 100644
--- a/qadevOOo/tests/java/mod/_sc/ScTableConditionalFormat.java
+++ b/qadevOOo/tests/java/mod/_sc/ScTableConditionalFormat.java
@@ -108,7 +108,7 @@ public class ScTableConditionalFormat extends TestCase {
XInterface oObj = null;
log.println("getting sheets");
- XSpreadsheets xSpreadsheets = (XSpreadsheets)xSpreadsheetDoc.getSheets();
+ XSpreadsheets xSpreadsheets = xSpreadsheetDoc.getSheets();
log.println("getting a sheet");
XSpreadsheet oSheet = null;
@@ -137,8 +137,7 @@ public class ScTableConditionalFormat extends TestCase {
e.printStackTrace(log);
}
- XPropertySet Props = (XPropertySet)
- UnoRuntime.queryInterface(XPropertySet.class, oSheet);
+ XPropertySet Props = UnoRuntime.queryInterface(XPropertySet.class, oSheet);
try {
oObj = (XInterface) AnyConverter.toObject(
new Type(XInterface.class),