pyuno/inc/pyuno/pyuno.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c492cbe08af160d17289716cc51721887e2c2afc Author: Tor Lillqvist <[email protected]> Date: Thu Mar 26 17:24:25 2015 +0200 WaE: redundant const_cast on lhs of pointer comparison expression Change-Id: Idd06653813e3f4863a5186eb6dce074227c25579 diff --git a/pyuno/inc/pyuno/pyuno.hxx b/pyuno/inc/pyuno/pyuno.hxx index 5efa96e..c83beb9 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; } _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
