summaryrefslogtreecommitdiff
path: root/framework/source/layoutmanager
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:25:25 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:25:25 +0200
commita1a5588b1b440836a6655ab0af5f854f3f5eb5ed (patch)
treebf96e680ee4b939a0a584d96140b2bf50e1776b6 /framework/source/layoutmanager
parent648cf9a56dcb11d2674c48e77672cc124aad1bce (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I4a72a60d621c65e63310ef70b991f9c86f00494d
Diffstat (limited to 'framework/source/layoutmanager')
-rw-r--r--framework/source/layoutmanager/layoutmanager.cxx2
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();