diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-02 11:25:15 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-02 11:25:15 +0200 |
commit | cfd6a855bf1183e0a4459c859712998f5bdca27c (patch) | |
tree | fd5778c735d51e7aa2df98a2238e20e2ef064242 /basctl | |
parent | e19cd71556fe0db3608fb230e3872a5e8d8d044c (diff) |
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: I625929f9cfa3a2d403d0a4652e57c2bb7a998fa6
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/dlged/dlgedobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/dlged/dlgedobj.cxx b/basctl/source/dlged/dlgedobj.cxx index 66a49a2a4501..4739bd85f07e 100644 --- a/basctl/source/dlged/dlgedobj.cxx +++ b/basctl/source/dlged/dlgedobj.cxx @@ -1551,7 +1551,7 @@ void DlgEdForm::UpdateGroups() if ( xCtrl.is() ) { Reference< awt::XControlModel > xCtrlModel( xCtrl->getModel() ); - if ( (awt::XControlModel*)xCtrlModel.get() == (awt::XControlModel*)pModels[nModel].get() ) + if ( xCtrlModel.get() == pModels[nModel].get() ) { // get the control peer and insert into the list of peers aSeqPeers.getArray()[ nModel ] = Reference< awt::XWindow >( xCtrl->getPeer(), UNO_QUERY ); |