Kaydet (Commit) 9e2d611c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Reduce to static_cast any reinterpret_cast from void pointers

Change-Id: Id6f439be58a06adeac9559fcae597273c8541a2c
üst fb6c3bd2
......@@ -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 */ \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment