diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-10-04 10:14:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-10-04 10:14:10 +0200 |
commit | 78ac2644501e907c1c8239c4fae8bb6e7ca829cb (patch) | |
tree | c6eb4f254a42de0b9ee7cd00e9ef383b1cb1a094 /vcl/osx/salinst.cxx | |
parent | a35e532a2d16dce25854b7c3cf27cc3a96a00b8e (diff) |
loplugin:redundantcast
Change-Id: Ia00af1b79ac30ca00345f52a1981d3bfc1620f76
Diffstat (limited to 'vcl/osx/salinst.cxx')
-rw-r--r-- | vcl/osx/salinst.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx index e94dae343972..d475f30275b0 100644 --- a/vcl/osx/salinst.cxx +++ b/vcl/osx/salinst.cxx @@ -97,7 +97,7 @@ public: { for( auto pSalFrame : pInst->getFrames() ) { - AquaSalFrame* pFrame = static_cast<AquaSalFrame*>( const_cast<SalFrame*>( pSalFrame ) ); + AquaSalFrame* pFrame = static_cast<AquaSalFrame*>( pSalFrame ); if( pFrame->mbShown ) pFrame->SendPaintEvent(); } @@ -620,7 +620,7 @@ SAL_WNODEPRECATED_DECLARATIONS_POP // collect update rectangles for( auto pSalFrame : GetSalData()->mpInstance->getFrames() ) { - AquaSalFrame* pFrame = static_cast<AquaSalFrame*>( const_cast<SalFrame*>( pSalFrame ) ); + AquaSalFrame* pFrame = static_cast<AquaSalFrame*>( pSalFrame ); if( pFrame->mbShown && ! pFrame->maInvalidRect.IsEmpty() ) { pFrame->Flush( pFrame->maInvalidRect ); |