summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/uno
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-06-27 15:40:17 +0200
committerMichael Stahl <mstahl@redhat.com>2012-06-29 22:03:01 +0200
commitb65017a2a7af290f6681da7b197a52efe83d5185 (patch)
tree06f71a435ba200d044109469b13be7c8f5dbe950 /qadevOOo/tests/java/ifc/uno
parent33ec740d1438c3dddf8e1974757ed05bb76425ca (diff)
Java5 update - usage generics where possible
Change-Id: I12f8c448961919e153047e28fee2a0acf3af1002
Diffstat (limited to 'qadevOOo/tests/java/ifc/uno')
-rw-r--r--qadevOOo/tests/java/ifc/uno/_XComponentContext.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/ifc/uno/_XComponentContext.java b/qadevOOo/tests/java/ifc/uno/_XComponentContext.java
index 9b7dfb7bae22..a4fd9955aef8 100644
--- a/qadevOOo/tests/java/ifc/uno/_XComponentContext.java
+++ b/qadevOOo/tests/java/ifc/uno/_XComponentContext.java
@@ -60,7 +60,7 @@ public class _XComponentContext extends MultiMethodTest {
Object value = oObj.getValueByName(
"/singletons/com.sun.star.lang.theServiceManager");
- byValue = (XMultiComponentFactory) UnoRuntime.queryInterface(
+ byValue = UnoRuntime.queryInterface(
XMultiComponentFactory.class, value);
String[] vNames = byValue.getAvailableServiceNames();