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_except.cxx | |
parent | 00173d8c3a17f9dc00ead78392812a98397cf277 (diff) |
Some more loplugin:cstylecast: pyuno
Change-Id: I80c9fdb45c9f58ac3cd1b0fab2631b903194e268
Diffstat (limited to 'pyuno/source/module/pyuno_except.cxx')
-rw-r--r-- | pyuno/source/module/pyuno_except.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyuno/source/module/pyuno_except.cxx b/pyuno/source/module/pyuno_except.cxx index 1835784c9358..f9adec7f08da 100644 --- a/pyuno/source/module/pyuno_except.cxx +++ b/pyuno/source/module/pyuno_except.cxx @@ -109,7 +109,7 @@ static PyRef createClass( const OUString & name, const Runtime &runtime ) PyRef base; if( isInterface ) { - typelib_InterfaceTypeDescription *pDesc = (typelib_InterfaceTypeDescription * )desc.get(); + typelib_InterfaceTypeDescription *pDesc = reinterpret_cast<typelib_InterfaceTypeDescription *>(desc.get()); if( pDesc->pBaseTypeDescription ) { base = getClass( pDesc->pBaseTypeDescription->aBase.pTypeName, runtime ); @@ -121,7 +121,7 @@ static PyRef createClass( const OUString & name, const Runtime &runtime ) } else { - typelib_CompoundTypeDescription *pDesc = (typelib_CompoundTypeDescription*)desc.get(); + typelib_CompoundTypeDescription *pDesc = reinterpret_cast<typelib_CompoundTypeDescription*>(desc.get()); if( pDesc->pBaseTypeDescription ) { base = getClass( pDesc->pBaseTypeDescription->aBase.pTypeName, runtime ); |