diff options
Diffstat (limited to 'package/source/xstor')
-rw-r--r-- | package/source/xstor/register.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/source/xstor/register.cxx b/package/source/xstor/register.cxx index 3020ddd59d0f..65cd33fa0559 100644 --- a/package/source/xstor/register.cxx +++ b/package/source/xstor/register.cxx @@ -37,7 +37,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL xstor_component_getFactory( const sal_Char if ( pServiceManager && aImplName.equals( OStorageFactory::impl_staticGetImplementationName() ) ) { - xFactory= ::cppu::createOneInstanceFactory( reinterpret_cast< lang::XMultiServiceFactory*>( pServiceManager ), + xFactory= ::cppu::createOneInstanceFactory( static_cast< lang::XMultiServiceFactory*>( pServiceManager ), OStorageFactory::impl_staticGetImplementationName(), OStorageFactory::impl_staticCreateSelfInstance, OStorageFactory::impl_staticGetSupportedServiceNames() ); |