summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabview3.cxx
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2016-01-12 15:37:25 -0400
committerHenry Castro <hcastro@collabora.com>2016-01-12 17:50:49 -0400
commit9074fcb3db9653ace243b0fd3373fa9d3956cd0a (patch)
treef8cc74b08e013cf54d295b994c9171ea1f6cea73 /sc/source/ui/view/tabview3.cxx
parent714bfcebd471b2dd67bca76fccbeddec762af0ec (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.cxx5
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 )