diff options
Diffstat (limited to 'qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java index 3c9ec0c6a641..954c35839fb3 100644 --- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java +++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java @@ -86,9 +86,9 @@ public class _XAccessibleText extends MultiMethodTest { XAccessibleComponent component = null; if (xat != null) { - oObj = (XAccessibleText) UnoRuntime.queryInterface( + oObj = UnoRuntime.queryInterface( XAccessibleText.class, xat); - component = (XAccessibleComponent) UnoRuntime.queryInterface( + component = UnoRuntime.queryInterface( XAccessibleComponent.class, xat); } @@ -107,7 +107,7 @@ public class _XAccessibleText extends MultiMethodTest { LimitedBounds = tEnv.getObjRelation("LimitedBounds"); if (component == null) { - component = (XAccessibleComponent) UnoRuntime.queryInterface( + component = UnoRuntime.queryInterface( XAccessibleComponent.class, tEnv.getTestObject()); } |