summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabcont.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/tabcont.cxx')
-rw-r--r--sc/source/ui/view/tabcont.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabcont.cxx b/sc/source/ui/view/tabcont.cxx
index c492df811bd3..c6aa46fb4a97 100644
--- a/sc/source/ui/view/tabcont.cxx
+++ b/sc/source/ui/view/tabcont.cxx
@@ -461,7 +461,7 @@ void ScTabControl::StartDrag( sal_Int8 /* nAction */, const Point& rPosPixel )
if (!bDisable)
{
- vcl::Region aRegion( Rectangle(0,0,0,0) );
+ vcl::Region aRegion( tools::Rectangle(0,0,0,0) );
CommandEvent aCEvt( rPosPixel, CommandEventId::StartDrag, true ); // needed for StartDrag
if (TabBar::StartDrag( aCEvt, aRegion ))
DoDrag( aRegion );
@@ -644,7 +644,7 @@ void ScTabControl::Mirror()
TabBar::Mirror();
if( nSelPageIdByMouse != TabBar::PAGE_NOT_FOUND )
{
- Rectangle aRect( GetPageRect( GetCurPageId() ) );
+ tools::Rectangle aRect( GetPageRect( GetCurPageId() ) );
if( !aRect.IsEmpty() )
SetPointerPosPixel( aRect.Center() );
nSelPageIdByMouse = TabBar::PAGE_NOT_FOUND; // only once after a Select()