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, 1 insertions, 5 deletions
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx
index a71036bd04d8..307987955451 100644
--- a/svtools/source/control/tabbar.cxx
+++ b/svtools/source/control/tabbar.cxx
@@ -2510,9 +2510,8 @@ void TabBar::HideDropPos()
}
}
-bool TabBar::SwitchPage(const Point& rPos)
+void TabBar::SwitchPage(const Point& rPos)
{
- bool bSwitch = false;
sal_uInt16 nSwitchId = GetPageId(rPos);
if (!nSwitchId)
EndSwitchPage();
@@ -2537,15 +2536,12 @@ bool TabBar::SwitchPage(const Point& rPos)
Update();
ImplActivatePage();
ImplSelect();
- bSwitch = true;
}
mbInSwitching = false;
}
}
}
}
-
- return bSwitch;
}
void TabBar::EndSwitchPage()