summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-03 07:54:04 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-05 21:17:55 +0200
commitbb6fae4d534e3984677bacc47a17bddfdc29329a (patch)
tree827ce0a84b7e63599c51c945633430d71f1f419d /vcl
parent0763d8413ed87d17fe2510608e2d7399834a5388 (diff)
Improved loplugin:redundantcast, const/static_cast combinations: vcl
Change-Id: I1d104fc0dbaa75a401eb9c405062c157f29ef42c
Diffstat (limited to 'vcl')
-rw-r--r--vcl/headless/svpframe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx
index e44a69ff69fa..6f6cd6171c90 100644
--- a/vcl/headless/svpframe.cxx
+++ b/vcl/headless/svpframe.cxx
@@ -98,7 +98,7 @@ SvpSalFrame::~SvpSalFrame()
const std::list< SalFrame* >& rFrames( m_pInstance->getFrames() );
for( std::list< SalFrame* >::const_iterator it = rFrames.begin(); it != rFrames.end(); ++it )
{
- SvpSalFrame* pFrame = const_cast<SvpSalFrame*>(static_cast<const SvpSalFrame*>(*it));
+ SvpSalFrame* pFrame = static_cast<SvpSalFrame*>(*it);
if( pFrame->m_bVisible &&
pFrame->m_pParent == nullptr &&
(pFrame->m_nStyle & (SalFrameStyleFlags::MOVEABLE |