summaryrefslogtreecommitdiffstats
path: root/qadevOOo/tests/java/ifc/document/_XDocumentInfoSupplier.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/document/_XDocumentInfoSupplier.java')
-rw-r--r--qadevOOo/tests/java/ifc/document/_XDocumentInfoSupplier.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/ifc/document/_XDocumentInfoSupplier.java b/qadevOOo/tests/java/ifc/document/_XDocumentInfoSupplier.java
index b92d50eef7cf..5810ae83dabf 100644
--- a/qadevOOo/tests/java/ifc/document/_XDocumentInfoSupplier.java
+++ b/qadevOOo/tests/java/ifc/document/_XDocumentInfoSupplier.java
@@ -32,13 +32,13 @@ public class _XDocumentInfoSupplier extends MultiMethodTest {
public void _getDocumentInfo() {
// returns a com.sun.star.document.DocumentInfo
XDocumentInfo info = oObj.getDocumentInfo();
- XPropertySet xPropertySet = (XPropertySet)UnoRuntime.queryInterface(XPropertySet.class, info);
+ XPropertySet xPropertySet = UnoRuntime.queryInterface(XPropertySet.class, info);
String title = null;
try {
title = (String)xPropertySet.getPropertyValue("Title");
}
catch(Exception e) {
- e.printStackTrace((java.io.PrintWriter)log);
+ e.printStackTrace(log);
title = null;
}
log.println("Got document title: " + title);