From 9685276b975aa37d16ba81dd8294b5717e3823df Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 11 Sep 2014 15:25:48 +0200 Subject: 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 --- include/uno/mapping.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/uno') 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(ppRet), pUnoI, ::cppu::getTypeFavourUnsigned( ppRet ) ); return (0 != *ppRet); } /** Deprecated. This function DOES NOT WORK with Purpose Environments -- cgit