diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:16:51 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:16:51 +0200 |
commit | b95b9cc29817ab19ffd1bafacba5a54b433ab41f (patch) | |
tree | cc8c31ad6f3c9f13bfe8a6bb32935371471e4f3f /svl | |
parent | a74aa43afb2accad7fc149282706b721f6b0f4eb (diff) |
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I7e0e4982611d2680d657f99eb2359db1f80e4f96
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/fsstor/fsfactory.cxx | 2 | ||||
-rw-r--r-- | svl/source/passwordcontainer/passwordcontainer.cxx | 2 |
2 files changed, 2 insertions, 2 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() ); diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx index 8d2243fcb71f..b6b2d52234bd 100644 --- a/svl/source/passwordcontainer/passwordcontainer.cxx +++ b/svl/source/passwordcontainer/passwordcontainer.cxx @@ -1451,7 +1451,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL passwordcontainer_component_getFactory ( if (PasswordContainer::impl_getStaticImplementationName().equalsAscii(pImplementationName)) { xFactory = PasswordContainer::impl_createFactory ( - reinterpret_cast< XMultiServiceFactory* >(pServiceManager)); + static_cast< XMultiServiceFactory* >(pServiceManager)); } if (xFactory.is()) { |