From 9e2d611c7fecbd9e6b6196961902634ad2330f09 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 31 Mar 2015 13:14:15 +0200 Subject: Reduce to static_cast any reinterpret_cast from void pointers Change-Id: Id6f439be58a06adeac9559fcae597273c8541a2c --- framework/inc/macros/registration.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/inc/macros/registration.hxx b/framework/inc/macros/registration.hxx index 66e70ce6ca71..836e09716d3f 100644 --- a/framework/inc/macros/registration.hxx +++ b/framework/inc/macros/registration.hxx @@ -66,7 +66,7 @@ ________________________________________________________________________________ /* Define variables which are used in following macros. */ \ ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > xFactory; \ ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceManager; \ - xServiceManager = reinterpret_cast< ::com::sun::star::lang::XMultiServiceFactory* >( pServiceManager ); \ + xServiceManager = static_cast< ::com::sun::star::lang::XMultiServiceFactory* >( pServiceManager ); \ /* These parameter will expand to */ \ /* "IF_NAME_CREATECOMPONENTFACTORY(a) */ \ /* else */ \ -- cgit