Kaydet (Commit) 7e3139de authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Reduce to static_cast any reinterpret_cast from void pointers

Change-Id: Icaec7ce94a915945ff464d0734115c729e740c83
üst a0737fb5
...@@ -48,7 +48,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL basctl_component_getFactory( const sal_Char* ...@@ -48,7 +48,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL basctl_component_getFactory( const sal_Char*
{ {
// Define variables which are used in following macros. // Define variables which are used in following macros.
Reference< XSingleServiceFactory > xFactory ; Reference< XSingleServiceFactory > xFactory ;
Reference< XMultiServiceFactory > xServiceManager( reinterpret_cast< XMultiServiceFactory* >( pServiceManager ) ) ; Reference< XMultiServiceFactory > xServiceManager( static_cast< XMultiServiceFactory* >( pServiceManager ) ) ;
if( SIDEModel::getImplementationName_Static().equalsAscii( pImplementationName ) ) if( SIDEModel::getImplementationName_Static().equalsAscii( pImplementationName ) )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment