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.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx
index cf7fafc6dcb2..7360ccf3b8cd 100644
--- a/svtools/source/control/tabbar.cxx
+++ b/svtools/source/control/tabbar.cxx
@@ -1079,7 +1079,7 @@ public:
maFont(rParent.GetFont())
{
// #i36013# exclude push buttons from painting area
- mrParent.SetClipRegion( Region(mrParent.GetPageArea()) );
+ mrParent.SetClipRegion( vcl::Region(mrParent.GetPageArea()) );
}
~TabBarPaintGuard()
@@ -2451,7 +2451,7 @@ OString TabBar::GetHelpId( sal_uInt16 nPageId ) const
-bool TabBar::StartDrag( const CommandEvent& rCEvt, Region& rRegion )
+bool TabBar::StartDrag( const CommandEvent& rCEvt, vcl::Region& rRegion )
{
if ( !(mnWinStyle & WB_DRAG) || (rCEvt.GetCommand() != COMMAND_STARTDRAG) )
return false;
@@ -2486,7 +2486,7 @@ bool TabBar::StartDrag( const CommandEvent& rCEvt, Region& rRegion )
}
mbInSelect = false;
- Region aRegion;
+ vcl::Region aRegion;
// assign region
rRegion = aRegion;
@@ -2618,7 +2618,7 @@ void TabBar::HideDropPos()
nX = pItem->maRect.Left();
// immediately call Paint, as it is not possible during drag and drop
Rectangle aRect( nX-1, nY1, nX+3, nY2 );
- Region aRegion( aRect );
+ vcl::Region aRegion( aRect );
SetClipRegion( aRegion );
Paint( aRect );
SetClipRegion();
@@ -2629,7 +2629,7 @@ void TabBar::HideDropPos()
nX = pItem->maRect.Right();
// immediately call Paint, as it is not possible during drag and drop
Rectangle aRect( nX-2, nY1, nX+1, nY2 );
- Region aRegion( aRect );
+ vcl::Region aRegion( aRect );
SetClipRegion( aRegion );
Paint( aRect );
SetClipRegion();