summaryrefslogtreecommitdiffstats
path: root/qadevOOo/tests/java/ifc/drawing/_XShapeDescriptor.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/drawing/_XShapeDescriptor.java')
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XShapeDescriptor.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/ifc/drawing/_XShapeDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_XShapeDescriptor.java
index 515cdeee06d6..0356d53c2636 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XShapeDescriptor.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XShapeDescriptor.java
@@ -53,8 +53,7 @@ public class _XShapeDescriptor extends MultiMethodTest {
String stype = oObj.getShapeType();
log.println("Current Shape Type is " + stype);
- XServiceInfo SI = (XServiceInfo)
- UnoRuntime.queryInterface(XServiceInfo.class, oObj);
+ XServiceInfo SI = UnoRuntime.queryInterface(XServiceInfo.class, oObj);
String[] serviceNames = SI.getSupportedServiceNames();