diff options
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()) { |