summaryrefslogtreecommitdiff
path: root/wizards/com/sun
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/com/sun')
-rw-r--r--wizards/com/sun/star/wizards/ui/event/DataAware.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/event/MethodInvocation.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/wizards/com/sun/star/wizards/ui/event/DataAware.java b/wizards/com/sun/star/wizards/ui/event/DataAware.java
index 6138286e80c0..98c3ea7f849b 100644
--- a/wizards/com/sun/star/wizards/ui/event/DataAware.java
+++ b/wizards/com/sun/star/wizards/ui/event/DataAware.java
@@ -313,7 +313,7 @@ public abstract class DataAware {
*/
public Object get(Object target) {
try {
- return getMethod.invoke(target, EMPTY_ARRAY);
+ return getMethod.invoke(target, (Object[])EMPTY_ARRAY);
} catch (IllegalAccessException ex1) {
ex1.printStackTrace();
} catch (InvocationTargetException ex2) {
diff --git a/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java b/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java
index adea073ef3e6..182e96f06bc0 100644
--- a/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java
+++ b/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java
@@ -66,7 +66,7 @@ public class MethodInvocation
public MethodInvocation(String methodName, Object obj, Class paramClass) throws NoSuchMethodException
{
- this(paramClass == null ? obj.getClass().getMethod(methodName, null) : obj.getClass().getMethod(methodName, new Class[]
+ this(paramClass == null ? obj.getClass().getMethod(methodName, (Class[])null) : obj.getClass().getMethod(methodName, new Class[]
{
paramClass
}), obj, paramClass);
@@ -91,7 +91,7 @@ public class MethodInvocation
}
else
{
- return mMethod.invoke(mObject, EMPTY_ARRAY);
+ return mMethod.invoke(mObject, (Object[])EMPTY_ARRAY);
}
}