summaryrefslogtreecommitdiff
path: root/pyuno/inc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-03-26 17:24:25 +0200
committerTor Lillqvist <tml@collabora.com>2015-03-26 18:53:11 +0200
commitc492cbe08af160d17289716cc51721887e2c2afc (patch)
treeb1fc38472771209124705a769f5b17e8fd5567aa /pyuno/inc
parent4f9e20c46b616c7c51bae74bfefd5247f922b2a6 (diff)
WaE: redundant const_cast on lhs of pointer comparison expression
Change-Id: Idd06653813e3f4863a5186eb6dce074227c25579
Diffstat (limited to 'pyuno/inc')
-rw-r--r--pyuno/inc/pyuno/pyuno.hxx2
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;
}