diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:16:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:16:35 +0200 |
commit | 03b2b85262244ad6e4c48f0a78d8ec008062d75b (patch) | |
tree | af3dd173039514bc07cbf176b1481a89bbd246e6 /sot/source/unoolestorage | |
parent | 1140d4c950712c4b14b9fcd04905942dc97a02b1 (diff) |
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I413b3716b3c5bda204619e8b1ff2b724f95a5c38
Diffstat (limited to 'sot/source/unoolestorage')
-rw-r--r-- | sot/source/unoolestorage/register.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/unoolestorage/register.cxx b/sot/source/unoolestorage/register.cxx index ad88bc0da3ff..df55fa0f98cb 100644 --- a/sot/source/unoolestorage/register.cxx +++ b/sot/source/unoolestorage/register.cxx @@ -39,7 +39,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL sot_component_getFactory( if ( pServiceManager && aImplName.equals( OLESimpleStorage::impl_staticGetImplementationName() ) ) { - xFactory= ::cppu::createSingleFactory( reinterpret_cast< lang::XMultiServiceFactory*>( pServiceManager ), + xFactory= ::cppu::createSingleFactory( static_cast< lang::XMultiServiceFactory*>( pServiceManager ), OLESimpleStorage::impl_staticGetImplementationName(), OLESimpleStorage::impl_staticCreateSelfInstance, OLESimpleStorage::impl_staticGetSupportedServiceNames() ); |