summaryrefslogtreecommitdiff
path: root/bean
diff options
context:
space:
mode:
authorrbuj <robert.buj@gmail.com>2014-09-14 14:26:10 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-09-15 06:08:30 +0000
commit7b8934d27ea9b6aa227cc16272823f4bec55860f (patch)
treecc5d7754a8320735972d4a863ed97dc5ee737de2 /bean
parent352b580e30476dce135a40a21daac7f974ecc430 (diff)
bean: use a non-varargs call for a stopOOoConnection method invocation
Change-Id: I589436be7d28b50b0b900a314b300d382eac5eb8 Reviewed-on: https://gerrit.libreoffice.org/11445 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'bean')
-rw-r--r--bean/test/applet/oooapplet/OOoViewer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bean/test/applet/oooapplet/OOoViewer.java b/bean/test/applet/oooapplet/OOoViewer.java
index c2eaaa5e71b3..cd86b4a27bab 100644
--- a/bean/test/applet/oooapplet/OOoViewer.java
+++ b/bean/test/applet/oooapplet/OOoViewer.java
@@ -101,7 +101,7 @@ public class OOoViewer extends Applet {
try {
Method methStop = m_objBean.getClass().getMethod(
"stopOOoConnection", new Class[0]);
- methStop.invoke(m_objBean, null);
+ methStop.invoke(m_objBean, (Object[]) null);
} catch (java.lang.NoSuchMethodException e) {
e.printStackTrace();
} catch (java.lang.IllegalAccessException e) {