Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: Icaec7ce94a915945ff464d0734115c729e740c83
This commit is contained in:
@@ -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 ) )
|
||||
{
|
||||
|
Reference in New Issue
Block a user