diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:15:43 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:15:43 +0200 |
commit | c9c991a9af4cae97011d1834c986e6fa27eaff89 (patch) | |
tree | 50ee476dc19f4a2b081d2b9717028310e3f0d8dc /package/source/xstor/register.cxx | |
parent | d2d04bd3a5e2f1d814e7b993a1169a597b5cff09 (diff) |
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I6979d9af3a97918593f0596df17c096bd3f4c4ad
Diffstat (limited to 'package/source/xstor/register.cxx')
-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() ); |