diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java index b19c493ee69a..21d4493480f6 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java @@ -122,13 +122,11 @@ public class XMLSettingsExporter extends TestCase { oObj = (XInterface) xMSF.createInstanceWithArguments( "com.sun.star.comp.Impress.XMLSettingsExporter", new Object[] {arg}); - XExporter xEx = (XExporter) - UnoRuntime.queryInterface(XExporter.class,oObj); + XExporter xEx = UnoRuntime.queryInterface(XExporter.class,oObj); xEx.setSourceDocument(xImpressDoc); //set some settings - XModel xImpressModel = (XModel) - UnoRuntime.queryInterface(XModel.class, xImpressDoc); + XModel xImpressModel = UnoRuntime.queryInterface(XModel.class, xImpressDoc); XController xController = xImpressModel.getCurrentController(); XPropertySet xPropSet = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xController); |