diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableConditionalEntryEnumeration.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableConditionalEntryEnumeration.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableConditionalEntryEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableConditionalEntryEnumeration.java index c457d7ef77eb..841490a987f6 100644 --- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableConditionalEntryEnumeration.java +++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableConditionalEntryEnumeration.java @@ -77,7 +77,7 @@ public class ScIndexEnumeration_TableConditionalEntryEnumeration extends TestCas XInterface oObj = null; log.println("getting sheets"); - XSpreadsheets xSpreadsheets = (XSpreadsheets)xSpreadsheetDoc.getSheets(); + XSpreadsheets xSpreadsheets = xSpreadsheetDoc.getSheets(); log.println("getting a sheet"); XSpreadsheet oSheet = null; @@ -111,8 +111,7 @@ public class ScIndexEnumeration_TableConditionalEntryEnumeration extends TestCas XPropertySet Props = null; try { - Props = (XPropertySet) - UnoRuntime.queryInterface(XPropertySet.class, oSheet); + Props = UnoRuntime.queryInterface(XPropertySet.class, oSheet); CFormat = Props.getPropertyValue("ConditionalFormat"); if (utils.isVoid(CFormat)) { log.println("Property 'ConditionalFormat' is void"); |