summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/component
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:18:04 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:18:04 +0200
commit698a6d4ab6e2f8485ed4e1d8322ac74c7087d621 (patch)
tree136124a3e3c0a49b4766bffb00133f63da4c9132 /xmlsecurity/source/component
parent6485183373a5b42c1741a9a51ac9d318b895c6dd (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I374bfba6ee7470044a677b7351cd59aac2e1b042
Diffstat (limited to 'xmlsecurity/source/component')
-rw-r--r--xmlsecurity/source/component/registerservices.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/component/registerservices.cxx b/xmlsecurity/source/component/registerservices.cxx
index 8eb5d6a8f85c..722c29172297 100644
--- a/xmlsecurity/source/component/registerservices.cxx
+++ b/xmlsecurity/source/component/registerservices.cxx
@@ -50,7 +50,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL xmlsecurity_component_getFactory( const sal_
{
// CertificateContainer
xFactory = cppu::createOneInstanceFactory(
- reinterpret_cast< lang::XMultiServiceFactory * >( pServiceManager ),
+ static_cast< lang::XMultiServiceFactory * >( pServiceManager ),
OUString::createFromAscii( pImplName ),
CertificateContainer::impl_createInstance,
CertificateContainer::impl_getStaticSupportedServiceNames() );