diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sch/ChartLegend.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sch/ChartLegend.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_sch/ChartLegend.java b/qadevOOo/tests/java/mod/_sch/ChartLegend.java index 93c7824b8d1b..f54ae9ee14a2 100644 --- a/qadevOOo/tests/java/mod/_sch/ChartLegend.java +++ b/qadevOOo/tests/java/mod/_sch/ChartLegend.java @@ -87,8 +87,7 @@ public class ChartLegend extends TestCase { log.println( "creating a chartdocument" ); XComponent xComp = SOF.loadDocument( utils.getFullTestURL("TransparencyChart.sxs")); - xChartDoc = (XChartDocument) - UnoRuntime.queryInterface(XChartDocument.class,xComp); + xChartDoc = UnoRuntime.queryInterface(XChartDocument.class,xComp); } catch (com.sun.star.uno.Exception e) { // Some exception occures.FAILED e.printStackTrace( log ); |