diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_fwk/StatusBarControllerFactory.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_fwk/StatusBarControllerFactory.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_fwk/StatusBarControllerFactory.java b/qadevOOo/tests/java/mod/_fwk/StatusBarControllerFactory.java index d206d80e167d..1cda12f51897 100644 --- a/qadevOOo/tests/java/mod/_fwk/StatusBarControllerFactory.java +++ b/qadevOOo/tests/java/mod/_fwk/StatusBarControllerFactory.java @@ -44,10 +44,10 @@ public class StatusBarControllerFactory extends TestCase { catch(com.sun.star.uno.Exception e) { throw new StatusException("Cannot create test object 'StatusBarControllerFactory'", e); } - XPropertySet xProp = (XPropertySet)UnoRuntime.queryInterface(XPropertySet.class, xMSF); + XPropertySet xProp = UnoRuntime.queryInterface(XPropertySet.class, xMSF); try { Object o = xProp.getPropertyValue("DefaultContext"); - XComponentContext xContext = (XComponentContext)UnoRuntime.queryInterface(XComponentContext.class, o); + XComponentContext xContext = UnoRuntime.queryInterface(XComponentContext.class, o); tEnv.addObjRelation("DC", xContext); } catch(com.sun.star.beans.UnknownPropertyException e) { |