summaryrefslogtreecommitdiff
path: root/vcl/source/control/tabctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/tabctrl.cxx')
-rw-r--r--vcl/source/control/tabctrl.cxx25
1 files changed, 0 insertions, 25 deletions
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index 7bdd0d3af0bf..799c96bbd1a8 100644
--- a/vcl/source/control/tabctrl.cxx
+++ b/vcl/source/control/tabctrl.cxx
@@ -2140,31 +2140,6 @@ void TabControl::FillLayoutData() const
// -----------------------------------------------------------------------
-Rectangle TabControl::GetTabPageBounds( sal_uInt16 nPage ) const
-{
- Rectangle aRet;
-
- if( !HasLayoutData() || ! mpTabCtrlData->maLayoutPageIdToLine.size() )
- FillLayoutData();
-
- if( HasLayoutData() )
- {
- boost::unordered_map< int, int >::const_iterator it = mpTabCtrlData->maLayoutPageIdToLine.find( (int)nPage );
- if( it != mpTabCtrlData->maLayoutPageIdToLine.end() )
- {
- if( it->second >= 0 && it->second < static_cast<int>(mpTabCtrlData->maTabRectangles.size()) )
- {
- aRet = mpTabCtrlData->maTabRectangles[ it->second ];
- aRet.Union( const_cast<TabControl*>(this)->ImplGetTabRect( TAB_PAGERECT ) );
- }
- }
- }
-
- return aRet;
-}
-
-// -----------------------------------------------------------------------
-
Rectangle TabControl::GetTabBounds( sal_uInt16 nPageId ) const
{
Rectangle aRet;