diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java b/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java index 7c83e6a87968..9d7b706668e9 100644 --- a/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java @@ -72,7 +72,7 @@ public class ScUniqueCellFormatsObj extends TestCase { PrintWriter log) { log.println("Getting the first sheet"); - XIndexAccess xIA = (XIndexAccess) UnoRuntime.queryInterface( + XIndexAccess xIA = UnoRuntime.queryInterface( XIndexAccess.class, xSheetDoc.getSheets()); try { @@ -94,7 +94,7 @@ public class ScUniqueCellFormatsObj extends TestCase { changeColor("C1:C10", 0, 0, 255); changeColor("D1:D10", 0, 255, 0); - XUniqueCellFormatRangesSupplier xUCRS = (XUniqueCellFormatRangesSupplier) UnoRuntime.queryInterface( + XUniqueCellFormatRangesSupplier xUCRS = UnoRuntime.queryInterface( XUniqueCellFormatRangesSupplier.class, oSheet); |