diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-17 19:00:24 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-20 09:06:50 +0100 |
commit | 7b8329866734a25a723596444ad23a1c4f7dbf9b (patch) | |
tree | 00f1def3572a9c058bd5ed2bfb1ad6df817a9d28 /pyuno/source/module/pyuno_callable.cxx | |
parent | 00173d8c3a17f9dc00ead78392812a98397cf277 (diff) |
Some more loplugin:cstylecast: pyuno
Change-Id: I80c9fdb45c9f58ac3cd1b0fab2631b903194e268
Diffstat (limited to 'pyuno/source/module/pyuno_callable.cxx')
-rw-r--r-- | pyuno/source/module/pyuno_callable.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyuno/source/module/pyuno_callable.cxx b/pyuno/source/module/pyuno_callable.cxx index 5b1d62feb8e2..b70cc2f81b88 100644 --- a/pyuno/source/module/pyuno_callable.cxx +++ b/pyuno/source/module/pyuno_callable.cxx @@ -53,7 +53,7 @@ void PyUNO_callable_del (PyObject* self) { PyUNO_callable* me; - me = (PyUNO_callable*) self; + me = reinterpret_cast<PyUNO_callable*>(self); delete me->members; PyObject_Del (self); @@ -71,7 +71,7 @@ PyObject* PyUNO_callable_call( Any any_params; Any ret_value; RuntimeCargo *cargo = 0; - me = (PyUNO_callable*) self; + me = reinterpret_cast<PyUNO_callable*>(self); PyRef ret; try @@ -255,7 +255,7 @@ PyRef PyUNO_callable_new ( self->members->methodName = methodName; self->members->mode = mode; - return PyRef( (PyObject*)self, SAL_NO_ACQUIRE ); + return PyRef( reinterpret_cast<PyObject*>(self), SAL_NO_ACQUIRE ); } } |