diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:13:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:13:58 +0200 |
commit | 86fcd8624efcf056bfccc625afa34e14aec05902 (patch) | |
tree | 777da2393fa0a92fc260f5a22f2588da19550d22 | |
parent | 91261d6da08c5efae2a8ddcdd1711528718975cc (diff) |
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I4e882de3fba5998b4b3e16029b8b24c0290fb1c0
-rw-r--r-- | eventattacher/source/eventattacher.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eventattacher/source/eventattacher.cxx b/eventattacher/source/eventattacher.cxx index eebfcf0c6cf6..e5b3e3401ba2 100644 --- a/eventattacher/source/eventattacher.cxx +++ b/eventattacher/source/eventattacher.cxx @@ -899,7 +899,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL evtatt_component_getFactory( if (pServiceManager && rtl_str_compare( pImplName, IMPLNAME ) == 0) { Reference< XSingleServiceFactory > xFactory( createOneInstanceFactory( - reinterpret_cast< XMultiServiceFactory * >( pServiceManager ), + static_cast< XMultiServiceFactory * >( pServiceManager ), OUString( IMPLNAME ), ::comp_EventAttacher::EventAttacherImpl_CreateInstance, ::comp_EventAttacher::EventAttacherImpl::getSupportedServiceNames_Static() ) ); |