summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-06-25 13:43:46 +0000
committerKurt Zenker <kz@openoffice.org>2008-06-25 13:43:46 +0000
commit75d3ea6aa78295802149ebf59602744baefbff86 (patch)
treed07d71317ae8b42e96dd80e7f1294dfc59a050e0
parent0cb6507cbddcacaad306f637cdbedd23249db329 (diff)
INTEGRATION: CWS rptwizard01 (1.5.126); FILE MERGED
2008/06/02 08:59:25 lla 1.5.126.3: #i86092# add some returns 2008/05/21 10:15:50 lla 1.5.126.2: RESYNC: (1.5-1.6); FILE MERGED 2008/02/14 13:15:00 lla 1.5.126.1: #i86092# cleanups
-rw-r--r--wizards/com/sun/star/wizards/ui/event/MethodInvocation.java15
1 files changed, 10 insertions, 5 deletions
diff --git a/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java b/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java
index b1af2c011531..7947eb0d83de 100644
--- a/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java
+++ b/wizards/com/sun/star/wizards/ui/event/MethodInvocation.java
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: MethodInvocation.java,v $
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
* This file is part of OpenOffice.org.
*
@@ -26,7 +26,9 @@
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
- ************************************************************************/package com.sun.star.wizards.ui.event;
+ ************************************************************************/
+
+package com.sun.star.wizards.ui.event;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
@@ -61,9 +63,12 @@ public class MethodInvocation {
this(method, obj, null);
}
- public MethodInvocation(String methodName, Object obj, Class paramClass) throws NoSuchMethodException {
- this(paramClass == null ? obj.getClass().getMethod(methodName, null) : obj.getClass().getMethod(methodName, new Class[] { paramClass }), obj, paramClass);
- }
+ public MethodInvocation(String methodName, Object obj, Class paramClass) throws NoSuchMethodException
+ {
+ this(paramClass == null ?
+ obj.getClass().getMethod(methodName, null) :
+ obj.getClass().getMethod(methodName, new Class[] { paramClass }), obj, paramClass);
+ }
public MethodInvocation(Method method, Object obj, Class paramClass) {
mMethod = method;