summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sch/AccStatisticsObject.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sch/AccStatisticsObject.java')
-rw-r--r--qadevOOo/tests/java/mod/_sch/AccStatisticsObject.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/qadevOOo/tests/java/mod/_sch/AccStatisticsObject.java b/qadevOOo/tests/java/mod/_sch/AccStatisticsObject.java
index 4af35f8fd0db..e895caf34aa0 100644
--- a/qadevOOo/tests/java/mod/_sch/AccStatisticsObject.java
+++ b/qadevOOo/tests/java/mod/_sch/AccStatisticsObject.java
@@ -64,8 +64,7 @@ public class AccStatisticsObject extends TestCase {
XInterface oObj = null;
- XModel aModel = (XModel)
- UnoRuntime.queryInterface(XModel.class, xChartDoc);
+ XModel aModel = UnoRuntime.queryInterface(XModel.class, xChartDoc);
AccessibilityTools at = new AccessibilityTools();
@@ -83,9 +82,8 @@ public class AccStatisticsObject 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() {