diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaExporter.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaExporter.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaExporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaExporter.java index 6e5b49735611..e572aeb7c13f 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaExporter.java @@ -124,14 +124,12 @@ public class XMLMetaExporter extends TestCase { try { oObj = (XInterface) xMSF.createInstanceWithArguments( "com.sun.star.comp.Draw.XMLMetaExporter", new Object[] {arg}); - XExporter xEx = (XExporter) - UnoRuntime.queryInterface(XExporter.class, oObj); + XExporter xEx = UnoRuntime.queryInterface(XExporter.class, oObj); xEx.setSourceDocument(xDrawDoc); //set some meta data - XDocumentInfoSupplier infoSup = (XDocumentInfoSupplier) - UnoRuntime.queryInterface(XDocumentInfoSupplier.class, - xDrawDoc) ; + XDocumentInfoSupplier infoSup = UnoRuntime.queryInterface(XDocumentInfoSupplier.class, + xDrawDoc) ; XPropertySet docInfo = (XPropertySet) UnoRuntime.queryInterface (XPropertySet.class, infoSup.getDocumentInfo()) ; docInfo.setPropertyValue("Title", TITLE); |