From c96f4e5684d3e7f145dcee5e3eeafd7491671d9b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 31 Mar 2015 13:16:39 +0200 Subject: Reduce to static_cast any reinterpret_cast from void pointers Change-Id: Ica7659b636d1277716153ef39025cf539b355fb2 --- starmath/source/detreg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starmath/source/detreg.cxx') diff --git a/starmath/source/detreg.cxx b/starmath/source/detreg.cxx index 356428c304da..1ce1296e309f 100644 --- a/starmath/source/detreg.cxx +++ b/starmath/source/detreg.cxx @@ -44,7 +44,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL smd_component_getFactory( const sal_Char* pI { // Define variables which are used in following macros. Reference< XSingleServiceFactory > xFactory ; - Reference< XMultiServiceFactory > xServiceManager( reinterpret_cast< XMultiServiceFactory* >( pServiceManager ) ) ; + Reference< XMultiServiceFactory > xServiceManager( static_cast< XMultiServiceFactory* >( pServiceManager ) ) ; if( SmFilterDetect::impl_getStaticImplementationName().equalsAscii( pImplementationName ) ) { -- cgit