From bb6fae4d534e3984677bacc47a17bddfdc29329a Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 3 Jun 2017 07:54:04 +0200 Subject: Improved loplugin:redundantcast, const/static_cast combinations: vcl Change-Id: I1d104fc0dbaa75a401eb9c405062c157f29ef42c --- vcl/headless/svpframe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') 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(static_cast(*it)); + SvpSalFrame* pFrame = static_cast(*it); if( pFrame->m_bVisible && pFrame->m_pParent == nullptr && (pFrame->m_nStyle & (SalFrameStyleFlags::MOVEABLE | -- cgit