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

loplugin:cstylecast: deal with remaining pointer casts

Change-Id: I9778efd0b1d1838c9f51693749575916d77e3198
üst 8df62de7
......@@ -237,7 +237,7 @@ Class##_CreateInstance( const com::sun::star::uno::Reference< \
throw( com::sun::star::uno::Exception ) \
{ \
com::sun::star::lang::XServiceInfo* pX = \
(com::sun::star::lang::XServiceInfo*)new Class( rSMgr ); \
static_cast<com::sun::star::lang::XServiceInfo*>(new Class( rSMgr )); \
return com::sun::star::uno::Reference< \
com::sun::star::uno::XInterface >::query( pX ); \
}
......@@ -250,7 +250,7 @@ Class##_CreateInstance( const com::sun::star::uno::Reference< \
throw( com::sun::star::uno::Exception ) \
{ \
com::sun::star::lang::XServiceInfo* pX = \
(com::sun::star::lang::XServiceInfo*)new Class( ucbhelper::getComponentContext(rSMgr) ); \
static_cast<com::sun::star::lang::XServiceInfo*>(new Class( ucbhelper::getComponentContext(rSMgr) )); \
return com::sun::star::uno::Reference< \
com::sun::star::uno::XInterface >::query( pX ); \
}
......
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