diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_fwk/UIConfigurationManager.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_fwk/UIConfigurationManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_fwk/UIConfigurationManager.java b/qadevOOo/tests/java/mod/_fwk/UIConfigurationManager.java index 4e41c5a345ca..a53c46374db0 100644 --- a/qadevOOo/tests/java/mod/_fwk/UIConfigurationManager.java +++ b/qadevOOo/tests/java/mod/_fwk/UIConfigurationManager.java @@ -81,8 +81,8 @@ public class UIConfigurationManager extends TestCase { String deleteCfg = util.utils.getFullURL(util.utils.getOfficeTemp(xMSF) + "delete.cfg"); util.utils.copyFile(xMSF, sourceDeleteCfg, deleteCfg); XStorage xSubStorage = null; - Object o = (XInterface)xMSF.createInstance("com.sun.star.embed.StorageFactory"); - XSingleServiceFactory xSSF = (XSingleServiceFactory)UnoRuntime.queryInterface( + Object o = xMSF.createInstance("com.sun.star.embed.StorageFactory"); + XSingleServiceFactory xSSF = UnoRuntime.queryInterface( XSingleServiceFactory.class, o); Object[] props = new Object[2]; props[0] = deleteCfg; |