summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-02 09:40:48 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-02 12:14:34 +0000
commit1a7e0cfd86c03607f9009aec40dbfa5d43de0c8e (patch)
treee32a4954af55e243a4ddf5989355053e3eff7f43 /pyuno
parent1d498fb0feca911fa063e96779b654c3aded2415 (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 'pyuno')
-rw-r--r--pyuno/inc/pyuno/pyuno.hxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/pyuno/inc/pyuno/pyuno.hxx b/pyuno/inc/pyuno/pyuno.hxx
index 66ad8e69fc91..ae8f16eed2b8 100644
--- a/pyuno/inc/pyuno/pyuno.hxx
+++ b/pyuno/inc/pyuno/pyuno.hxx
@@ -133,14 +133,6 @@ public:
m = 0;
}
- /** clears the reference decreasing the refcount of the holded object.
- */
- void clear()
- {
- Py_XDECREF( m );
- m = 0;
- }
-
/** returns 1 when the reference points to a python object python object,
otherwise 0.
*/