Reduce to static_cast any reinterpret_cast from void pointers

Change-Id: Icaec7ce94a915945ff464d0734115c729e740c83
This commit is contained in:
Stephan Bergmann
2015-03-31 13:12:04 +02:00
parent a0737fb591
commit 7e3139de9c

View File

@@ -48,7 +48,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL basctl_component_getFactory( const sal_Char*
{
// 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( SIDEModel::getImplementationName_Static().equalsAscii( pImplementationName ) )
{