Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I7e0e4982611d2680d657f99eb2359db1f80e4f96
This commit is contained in:
parent
a74aa43afb
commit
b95b9cc298
@ -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())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user