diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-07-16 10:18:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-07-16 10:18:27 +0200 |
commit | b3ade2609d3ddde225eddb10cbcb477729baba7c (patch) | |
tree | e0dda489a91851ee914789e29ad69f28a112d9e7 /framework/source/uielement/saveasmenucontroller.cxx | |
parent | c6d73d24a7092512cbc60c255d0f20e7f9f29cf3 (diff) |
loplugin:cstylecast
Change-Id: I365b43f0327219f5ccd74984ec907088a8769785
Diffstat (limited to 'framework/source/uielement/saveasmenucontroller.cxx')
-rw-r--r-- | framework/source/uielement/saveasmenucontroller.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uielement/saveasmenucontroller.cxx b/framework/source/uielement/saveasmenucontroller.cxx index 646001397ba7..f02d84984d04 100644 --- a/framework/source/uielement/saveasmenucontroller.cxx +++ b/framework/source/uielement/saveasmenucontroller.cxx @@ -125,14 +125,14 @@ void SaveAsMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu >& rPo // XEventListener void SAL_CALL SaveAsMenuController::disposing( const EventObject& ) throw ( RuntimeException, std::exception ) { - Reference< css::awt::XMenuListener > xHolder(( OWeakObject *)this, UNO_QUERY ); + Reference< css::awt::XMenuListener > xHolder(static_cast<OWeakObject *>(this), UNO_QUERY ); osl::MutexGuard aLock( m_aMutex ); m_xFrame.clear(); m_xDispatch.clear(); if ( m_xPopupMenu.is() ) - m_xPopupMenu->removeMenuListener( Reference< css::awt::XMenuListener >(( OWeakObject *)this, UNO_QUERY )); + m_xPopupMenu->removeMenuListener( Reference< css::awt::XMenuListener >(static_cast<OWeakObject *>(this), UNO_QUERY )); m_xPopupMenu.clear(); } |