diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-03-31 06:10:50 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-06-18 17:01:54 +0200 |
commit | e407b0e6861175dca85d08e013a639c11d372589 (patch) | |
tree | 807a000f2b5b737126363f93b7870c98d96318d7 /vcl | |
parent | 2a9253d3f5b0eba7b9129f7e64aec1e8867719f6 (diff) |
uitest: support selecting different tab pages in tab dialog
Change-Id: I541f83a87f5f3d459b2baf4587b76cb2fce5d5fc
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/tabctrl.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx index 8b970309ff0c..d72056fb19d1 100644 --- a/vcl/source/control/tabctrl.cxx +++ b/vcl/source/control/tabctrl.cxx @@ -2181,4 +2181,16 @@ void TabControl::queue_resize(StateChangedType eReason) Window::queue_resize(eReason); } +std::vector<sal_uInt16> TabControl::GetPageIDs() const +{ + std::vector<sal_uInt16> aIDs; + for (auto itr = mpTabCtrlData->maItemList.begin(), itrEnd = mpTabCtrlData->maItemList.end(); + itr != itrEnd; ++itr) + { + aIDs.push_back(itr->mnId); + } + + return aIDs; +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |