summaryrefslogtreecommitdiffstats
path: root/eventattacher
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:13:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:13:58 +0200
commit86fcd8624efcf056bfccc625afa34e14aec05902 (patch)
tree777da2393fa0a92fc260f5a22f2588da19550d22 /eventattacher
parentReduce to static_cast any reinterpret_cast from void pointers (diff)
downloadcore-86fcd8624efcf056bfccc625afa34e14aec05902.tar.gz
core-86fcd8624efcf056bfccc625afa34e14aec05902.zip
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I4e882de3fba5998b4b3e16029b8b24c0290fb1c0
Diffstat (limited to 'eventattacher')
-rw-r--r--eventattacher/source/eventattacher.cxx2
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() ) );