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/layoutmanager | |
parent | 648cf9a56dcb11d2674c48e77672cc124aad1bce (diff) |
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I4a72a60d621c65e63310ef70b991f9c86f00494d
Diffstat (limited to 'framework/source/layoutmanager')
-rw-r--r-- | framework/source/layoutmanager/layoutmanager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index 76dfc71ad7e2..2b4a1f935cda 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -1170,7 +1170,7 @@ throw (uno::RuntimeException) pSysWindow->SetMenuBar(pMenuBar, m_xFrame); m_bInplaceMenuSet = true; - m_xInplaceMenuBar = Reference< XComponent >( (OWeakObject *)m_pInplaceMenuBar, UNO_QUERY ); + m_xInplaceMenuBar = Reference< XComponent >( static_cast<OWeakObject *>(m_pInplaceMenuBar), UNO_QUERY ); } aWriteLock.clear(); |