summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:17:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:17:38 +0200
commit9676efca531290ebde3839c5246abdde159499cf (patch)
tree0592e88a2b5bf819f9d6f1cff6b5bef4cd9f55af
parent809f6d610dff5cfc931374dfb8fcd0a343d5488f (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I67d9b5d7a23f24cea64354efb6f3e08fa1fa59d4
-rw-r--r--uui/source/services.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/uui/source/services.cxx b/uui/source/services.cxx
index ad0c3286ca3f..40e29545e639 100644
--- a/uui/source/services.cxx
+++ b/uui/source/services.cxx
@@ -43,7 +43,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL uui_component_getFactory(sal_Cha
void * pRet = 0;
Reference< XMultiServiceFactory > xSMgr(
- reinterpret_cast< XMultiServiceFactory * >( pServiceManager ) );
+ static_cast< XMultiServiceFactory * >( pServiceManager ) );
Reference< XSingleServiceFactory > xFactory;