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_adapter.cxx | |
parent | 00173d8c3a17f9dc00ead78392812a98397cf277 (diff) |
Some more loplugin:cstylecast: pyuno
Change-Id: I80c9fdb45c9f58ac3cd1b0fab2631b903194e268
Diffstat (limited to 'pyuno/source/module/pyuno_adapter.cxx')
-rw-r--r-- | pyuno/source/module/pyuno_adapter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_adapter.cxx b/pyuno/source/module/pyuno_adapter.cxx index 83bb271eede4..fe01dbe2e6fe 100644 --- a/pyuno/source/module/pyuno_adapter.cxx +++ b/pyuno/source/module/pyuno_adapter.cxx @@ -83,7 +83,7 @@ void raiseInvocationTargetExceptionWhenNeeded( const Runtime &runtime ) if( PyErr_Occurred() ) { PyRef excType, excValue, excTraceback; - PyErr_Fetch( (PyObject **)&excType, (PyObject**)&excValue,(PyObject**)&excTraceback); + PyErr_Fetch(reinterpret_cast<PyObject **>(&excType), reinterpret_cast<PyObject**>(&excValue), reinterpret_cast<PyObject**>(&excTraceback)); Any unoExc( runtime.extractUnoException( excType, excValue, excTraceback ) ); throw InvocationTargetException( ((com::sun::star::uno::Exception*)unoExc.getValue())->Message, |