summaryrefslogtreecommitdiff
path: root/svtools/source/control/tabbar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/control/tabbar.cxx')
-rw-r--r--svtools/source/control/tabbar.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx
index 294d9240575e..547dada36dd9 100644
--- a/svtools/source/control/tabbar.cxx
+++ b/svtools/source/control/tabbar.cxx
@@ -2468,7 +2468,7 @@ sal_uInt16 TabBar::ShowDropPos( const Point& rPos )
Rectangle aRect( mnOffX, 0, mnLastOffX, maWinSize.Height() );
SetFillColor( GetBackground().GetColor() );
DrawRect( aRect );
- Paint( aRect );
+ Invalidate(aRect);
}
}
@@ -2545,7 +2545,7 @@ void TabBar::HideDropPos()
Rectangle aRect( nX-1, nY1, nX+3, nY2 );
vcl::Region aRegion( aRect );
SetClipRegion( aRegion );
- Paint( aRect );
+ Invalidate(aRect);
SetClipRegion();
}
if ( (mnDropPos > 0) && (mnDropPos < nItemCount+1) )
@@ -2556,7 +2556,7 @@ void TabBar::HideDropPos()
Rectangle aRect( nX-2, nY1, nX+1, nY2 );
vcl::Region aRegion( aRect );
SetClipRegion( aRegion );
- Paint( aRect );
+ Invalidate(aRect);
SetClipRegion();
}