summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/convwatch/ReportDesignerTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/runner/convwatch/ReportDesignerTest.java')
-rw-r--r--qadevOOo/runner/convwatch/ReportDesignerTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/runner/convwatch/ReportDesignerTest.java b/qadevOOo/runner/convwatch/ReportDesignerTest.java
index 14a75a91965a..3220fc95004d 100644
--- a/qadevOOo/runner/convwatch/ReportDesignerTest.java
+++ b/qadevOOo/runner/convwatch/ReportDesignerTest.java
@@ -75,7 +75,7 @@ class PropertySetHelper
XPropertySet m_xPropertySet;
public PropertySetHelper(Object _aObj)
{
- m_xPropertySet = (XPropertySet)UnoRuntime.queryInterface(XPropertySet.class, _aObj);
+ m_xPropertySet = UnoRuntime.queryInterface(XPropertySet.class, _aObj);
}
/**
@@ -382,7 +382,7 @@ public class ReportDesignerTest extends ComplexTestCase {
assure("can't create instance of com.sun.star.sdb.DatabaseContext", x != null);
log.println("createInstance com.sun.star.sdb.DatabaseContext done");
- XNameAccess xNameAccess = (XNameAccess) UnoRuntime.queryInterface(XNameAccess.class, x);
+ XNameAccess xNameAccess = UnoRuntime.queryInterface(XNameAccess.class, x);
showElements(xNameAccess);
Object aObj = xNameAccess.getByName(sFileURL);
// log.println("1");
@@ -513,7 +513,7 @@ public class ReportDesignerTest extends ComplexTestCase {
private String getFormatExtension(Object _xComponent /* int _nType*/ )
{
String sExtension;
- XServiceInfo xServiceInfo = (XServiceInfo) UnoRuntime.queryInterface( XServiceInfo.class, _xComponent );
+ XServiceInfo xServiceInfo = UnoRuntime.queryInterface( XServiceInfo.class, _xComponent );
if ( xServiceInfo.supportsService( "com.sun.star.sheet.SpreadsheetDocument" ) )
{
// calc