From c9c991a9af4cae97011d1834c986e6fa27eaff89 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 31 Mar 2015 13:15:43 +0200 Subject: Reduce to static_cast any reinterpret_cast from void pointers Change-Id: I6979d9af3a97918593f0596df17c096bd3f4c4ad --- package/source/xstor/register.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/source/xstor') 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() ); -- cgit