diff options
author | Henry Castro <hcastro@collabora.com> | 2016-01-12 15:37:25 -0400 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2016-01-12 17:50:49 -0400 |
commit | 9074fcb3db9653ace243b0fd3373fa9d3956cd0a (patch) | |
tree | f8cc74b08e013cf54d295b994c9171ea1f6cea73 /sc/source/ui/view/tabview3.cxx | |
parent | 714bfcebd471b2dd67bca76fccbeddec762af0ec (diff) |
sc lokit: refactor setPart
Change-Id: I01786551aef0274ae11fe673cc5b0c250e8817cc
Reviewed-on: https://gerrit.libreoffice.org/21403
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'sc/source/ui/view/tabview3.cxx')
-rw-r--r-- | sc/source/ui/view/tabview3.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx index ad84f1be1b67..dd47fa2e0175 100644 --- a/sc/source/ui/view/tabview3.cxx +++ b/sc/source/ui/view/tabview3.cxx @@ -1515,6 +1515,11 @@ void ScTabView::SelectNextTab( short nDir, bool bExtendSelection ) PaintExtras(); } +void ScTabView::SelectTabPage( const sal_uInt16 nTab ) +{ + pTabControl->SwitchToPageId( nTab ); +} + // SetTabNo - angezeigte Tabelle void ScTabView::SetTabNo( SCTAB nTab, bool bNew, bool bExtendSelection, bool bSameTabButMoved ) |