diff options
author | rbuj <robert.buj@gmail.com> | 2014-09-14 14:26:10 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-09-15 06:08:30 +0000 |
commit | 7b8934d27ea9b6aa227cc16272823f4bec55860f (patch) | |
tree | cc5d7754a8320735972d4a863ed97dc5ee737de2 /bean/test | |
parent | javaunohelper: warning: unchecked cast (diff) | |
download | core-7b8934d27ea9b6aa227cc16272823f4bec55860f.tar.gz core-7b8934d27ea9b6aa227cc16272823f4bec55860f.zip |
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/test')
-rw-r--r-- | bean/test/applet/oooapplet/OOoViewer.java | 2 |
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) { |