diff options
Diffstat (limited to 'vcl/source/control/imivctl1.cxx')
-rw-r--r-- | vcl/source/control/imivctl1.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/control/imivctl1.cxx b/vcl/source/control/imivctl1.cxx index 4f4ae02cdfaa..2eae406b4299 100644 --- a/vcl/source/control/imivctl1.cxx +++ b/vcl/source/control/imivctl1.cxx @@ -2260,10 +2260,10 @@ void SvxIconChoiceCtrl_Impl::SelectRect( const tools::Rectangle& rRect, bool bAd bool bCalcOverlap = (bAdd && pOtherRects && !pOtherRects->empty()); bool bResetClipRegion = false; - if( !pView->IsClipRegion() ) + if( !pView->GetOutDev()->IsClipRegion() ) { bResetClipRegion = true; - pView->SetClipRegion(vcl::Region(GetOutputRect())); + pView->GetOutDev()->SetClipRegion(vcl::Region(GetOutputRect())); } for( size_t nPos = 0; nPos < nCount; nPos++ ) @@ -2334,7 +2334,7 @@ void SvxIconChoiceCtrl_Impl::SelectRect( const tools::Rectangle& rRect, bool bAd pView->PaintImmediately(); if( bResetClipRegion ) - pView->SetClipRegion(); + pView->GetOutDev()->SetClipRegion(); } void SvxIconChoiceCtrl_Impl::SelectRange( |