summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:16:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:16:12 +0200
commit6b97231ba338e7d69f882316b7615feecb54cb33 (patch)
tree86a166b646b93f371bbf55d05b895ee25c6a4a1b /scripting
parent7956c4c5178a77bf1c46cb1f129b8318c28fbb46 (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I7d6106bda60f8cae3e110e6757b3bf267ce15ec5
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/protocolhandler/scripthandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/source/protocolhandler/scripthandler.cxx b/scripting/source/protocolhandler/scripthandler.cxx
index 4f0dc5ec3fb6..3c2a9dff652c 100644
--- a/scripting/source/protocolhandler/scripthandler.cxx
+++ b/scripting/source/protocolhandler/scripthandler.cxx
@@ -525,7 +525,7 @@ extern "C"
::com::sun::star::uno::Reference<
::com::sun::star::lang::XSingleServiceFactory > xFactory ;
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >
- xServiceManager( reinterpret_cast<
+ xServiceManager( static_cast<
::com::sun::star::lang::XMultiServiceFactory* >( pServiceManager ) ) ;
if ( ::scripting_protocolhandler::ScriptProtocolHandler::impl_getStaticImplementationName().equals(