Kaydet (Commit) b95b9cc2 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Reduce to static_cast any reinterpret_cast from void pointers

Change-Id: I7e0e4982611d2680d657f99eb2359db1f80e4f96
üst a74aa43a
......@@ -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() );
......
......@@ -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())
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment