summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:16:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:16:35 +0200
commit03b2b85262244ad6e4c48f0a78d8ec008062d75b (patch)
treeaf3dd173039514bc07cbf176b1481a89bbd246e6 /sot
parent1140d4c950712c4b14b9fcd04905942dc97a02b1 (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I413b3716b3c5bda204619e8b1ff2b724f95a5c38
Diffstat (limited to 'sot')
-rw-r--r--sot/source/unoolestorage/register.cxx2
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() );