summaryrefslogtreecommitdiff
path: root/include/uno
diff options
context:
space:
mode:
Diffstat (limited to 'include/uno')
-rw-r--r--include/uno/mapping.hxx2
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