diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sch/AccFloor.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sch/AccFloor.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/qadevOOo/tests/java/mod/_sch/AccFloor.java b/qadevOOo/tests/java/mod/_sch/AccFloor.java index 98a44f154c3f..ea2c3138b9d1 100644 --- a/qadevOOo/tests/java/mod/_sch/AccFloor.java +++ b/qadevOOo/tests/java/mod/_sch/AccFloor.java @@ -83,8 +83,7 @@ public class AccFloor extends TestCase { XInterface oObj = null; - XModel aModel = (XModel) - UnoRuntime.queryInterface(XModel.class, xChartDoc); + XModel aModel = UnoRuntime.queryInterface(XModel.class, xChartDoc); AccessibilityTools at = new AccessibilityTools(); @@ -104,9 +103,8 @@ public class AccFloor extends TestCase { TestEnvironment tEnv = new TestEnvironment(oObj); - final XAccessibleComponent acc = (XAccessibleComponent) - UnoRuntime.queryInterface( - XAccessibleComponent.class,oObj); + final XAccessibleComponent acc = UnoRuntime.queryInterface( + XAccessibleComponent.class,oObj); tEnv.addObjRelation("EventProducer", new ifc.accessibility._XAccessibleEventBroadcaster.EventProducer() { public void fireEvent() { |