diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-02 09:40:48 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-02 12:14:34 +0000 |
commit | 1a7e0cfd86c03607f9009aec40dbfa5d43de0c8e (patch) | |
tree | e32a4954af55e243a4ddf5989355053e3eff7f43 /bridges | |
parent | 1d498fb0feca911fa063e96779b654c3aded2415 (diff) |
loplugin:unusedmethods bridges,ucbhelper,io,pyuno
Change-Id: I483deb33b9d861af679d4a36e13585345401e10d
Reviewed-on: https://gerrit.libreoffice.org/16681
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/jni_uno/jni_base.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/bridges/source/jni_uno/jni_base.h b/bridges/source/jni_uno/jni_base.h index af93d6a35cac..4fd90eaa30f8 100644 --- a/bridges/source/jni_uno/jni_base.h +++ b/bridges/source/jni_uno/jni_base.h @@ -158,7 +158,6 @@ public: inline bool is() const { return (0 != m_jo); } inline jobject release(); - inline void reset(); inline void reset( jobject jo ); inline JLocalAutoRef & operator = ( JLocalAutoRef & auto_ref ); }; @@ -183,13 +182,6 @@ inline jobject JLocalAutoRef::release() return jo; } -inline void JLocalAutoRef::reset() -{ - if (0 != m_jo) - m_jni->DeleteLocalRef( m_jo ); - m_jo = 0; -} - inline void JLocalAutoRef::reset( jobject jo ) { if (jo != m_jo) |