diff options
Diffstat (limited to 'toolkit/test/accessibility/ov/FocusView.java')
-rw-r--r-- | toolkit/test/accessibility/ov/FocusView.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/test/accessibility/ov/FocusView.java b/toolkit/test/accessibility/ov/FocusView.java index da47eb293fcc..fa87ef5a7d92 100644 --- a/toolkit/test/accessibility/ov/FocusView.java +++ b/toolkit/test/accessibility/ov/FocusView.java @@ -45,7 +45,7 @@ public class FocusView ObjectViewContainer aContainer, XAccessibleContext xContext) { - XAccessibleComponent xComponent = (XAccessibleComponent)UnoRuntime.queryInterface( + XAccessibleComponent xComponent = UnoRuntime.queryInterface( XAccessibleComponent.class, xContext); if (xComponent != null) return new FocusView (aContainer); @@ -80,7 +80,7 @@ public class FocusView */ public void SetObject (XAccessibleContext xObject) { - mxComponent = (XAccessibleComponent)UnoRuntime.queryInterface( + mxComponent = UnoRuntime.queryInterface( XAccessibleComponent.class, xObject); super.SetObject (xObject); } |