summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:14:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:14:15 +0200
commit9e2d611c7fecbd9e6b6196961902634ad2330f09 (patch)
treeff155b8ac7b28441f9d8d210bfaa77e2a4ee27bb /framework
parentfb6c3bd2db4960b96151267838859e4f3172a444 (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: Id6f439be58a06adeac9559fcae597273c8541a2c
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/macros/registration.hxx2
1 files changed, 1 insertions, 1 deletions
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 */ \