summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_toolkit/UnoControlRadioButton.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_toolkit/UnoControlRadioButton.java')
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlRadioButton.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlRadioButton.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlRadioButton.java
index a23650d746d8..593bd53cdd70 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlRadioButton.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlRadioButton.java
@@ -97,7 +97,7 @@ public class UnoControlRadioButton extends TestCase {
XControlModel the_Model2 = aShape2.getControl();
//Try to query XControlAccess
- XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
+ XControlAccess the_access = UnoRuntime.queryInterface(
XControlAccess.class,
xTextDoc.getCurrentController());
@@ -131,7 +131,7 @@ public class UnoControlRadioButton extends TestCase {
tEnv.addObjRelation("TOOLKIT", the_kit);
tEnv.addObjRelation("MODEL", the_Model);
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = UnoRuntime.queryInterface(XWindow.class,
aControl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);