[Libreoffice-commits] core.git: pyuno/inc

Tor Lillqvist tml at collabora.com
Thu Mar 26 11:37:50 PDT 2015


 pyuno/inc/pyuno/pyuno.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c492cbe08af160d17289716cc51721887e2c2afc
Author: Tor Lillqvist <tml at collabora.com>
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;
     }
 


More information about the Libreoffice-commits mailing list