diff options
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/inc/pyuno/pyuno.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/inc/pyuno/pyuno.hxx b/pyuno/inc/pyuno/pyuno.hxx index 5efa96e8f058..c83beb99957f 100644 --- a/pyuno/inc/pyuno/pyuno.hxx +++ b/pyuno/inc/pyuno/pyuno.hxx @@ -109,7 +109,7 @@ public: PyObject * getAcquired() const { - Py_XINCREF( const_cast< PyObject*> (m) ); + Py_XINCREF( m ); return m; } |