diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-11 15:25:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-17 07:08:23 +0200 |
commit | 9685276b975aa37d16ba81dd8294b5717e3823df (patch) | |
tree | 58a0b916218bf99ea5b0c6c77d3c913f317b512a /include/uno/mapping.hxx | |
parent | a0a5f7695388627246d30701afdbd68ed812ddc9 (diff) |
cppu and cppuhelper: loplugin: cstylecast
Add a macro in include/cppuhelper/implbase_ex.hxx
to make initialising the type_entry classes a little less verbose.
Change-Id: I0904b5b9db269c92bc89e7ce3d6c8b09350c9897
Diffstat (limited to 'include/uno/mapping.hxx')
-rw-r--r-- | include/uno/mapping.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uno/mapping.hxx b/include/uno/mapping.hxx index a75b315a8442..2291bc2eef89 100644 --- a/include/uno/mapping.hxx +++ b/include/uno/mapping.hxx @@ -301,7 +301,7 @@ inline bool mapToCpp( Reference< C > * ppRet, uno_Interface * pUnoI ) ::rtl::OUString( CPPU_CURRENT_LANGUAGE_BINDING_NAME ) ); OSL_ASSERT( aMapping.is() ); aMapping.mapInterface( - (void **)ppRet, pUnoI, ::cppu::getTypeFavourUnsigned( ppRet ) ); + reinterpret_cast<void **>(ppRet), pUnoI, ::cppu::getTypeFavourUnsigned( ppRet ) ); return (0 != *ppRet); } /** Deprecated. This function DOES NOT WORK with Purpose Environments |