diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:25:25 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:25:25 +0200 |
commit | a1a5588b1b440836a6655ab0af5f854f3f5eb5ed (patch) | |
tree | bf96e680ee4b939a0a584d96140b2bf50e1776b6 /framework/source/uifactory | |
parent | 648cf9a56dcb11d2674c48e77672cc124aad1bce (diff) |
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I4a72a60d621c65e63310ef70b991f9c86f00494d
Diffstat (limited to 'framework/source/uifactory')
-rw-r--r-- | framework/source/uifactory/addonstoolbarfactory.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uifactory/addonstoolbarfactory.cxx b/framework/source/uifactory/addonstoolbarfactory.cxx index a7bac9f9f562..713f95cc32c0 100644 --- a/framework/source/uifactory/addonstoolbarfactory.cxx +++ b/framework/source/uifactory/addonstoolbarfactory.cxx @@ -215,7 +215,7 @@ throw ( ::com::sun::star::container::NoSuchElementException, SolarMutexGuard aGuard; AddonsToolBarWrapper* pToolBarWrapper = new AddonsToolBarWrapper( m_xContext ); - xToolBar = Reference< ::com::sun::star::ui::XUIElement >( (OWeakObject *)pToolBarWrapper, UNO_QUERY ); + xToolBar = Reference< ::com::sun::star::ui::XUIElement >( static_cast<OWeakObject *>(pToolBarWrapper), UNO_QUERY ); Reference< XInitialization > xInit( xToolBar, UNO_QUERY ); xInit->initialize( aPropSeq ); } |