summaryrefslogtreecommitdiff
path: root/svl/source/fsstor
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:16:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:16:51 +0200
commitb95b9cc29817ab19ffd1bafacba5a54b433ab41f (patch)
treecc8c31ad6f3c9f13bfe8a6bb32935371471e4f3f /svl/source/fsstor
parenta74aa43afb2accad7fc149282706b721f6b0f4eb (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I7e0e4982611d2680d657f99eb2359db1f80e4f96
Diffstat (limited to 'svl/source/fsstor')
-rw-r--r--svl/source/fsstor/fsfactory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/fsstor/fsfactory.cxx b/svl/source/fsstor/fsfactory.cxx
index 44d9842cfadf..5fa5339f8ea5 100644
--- a/svl/source/fsstor/fsfactory.cxx
+++ b/svl/source/fsstor/fsfactory.cxx
@@ -191,7 +191,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL fsstorage_component_getFactory (
if (FSStorageFactory::impl_staticGetImplementationName().equalsAscii(pImplementationName))
{
xFactory = cppu::createOneInstanceFactory (
- reinterpret_cast< lang::XMultiServiceFactory* >(pServiceManager),
+ static_cast< lang::XMultiServiceFactory* >(pServiceManager),
FSStorageFactory::impl_staticGetImplementationName(),
FSStorageFactory::impl_staticCreateSelfInstance,
FSStorageFactory::impl_staticGetSupportedServiceNames() );