diff options
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 ); |