diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-05-05 12:55:29 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-06-18 17:02:10 +0200 |
commit | 7bffe9274e0390beb405c72ea0a944a4c25c935c (patch) | |
tree | cbf4e266255e1d592fd3f3aa0d31a0365893a815 | |
parent | e435812a1f1a6a53fe8f95297cdacdebb3d36a53 (diff) |
uitest: allow selecting different tabs in gridwin
Change-Id: Id8104eac183b4f7129d7f23092c52b58376ed492
-rw-r--r-- | sc/source/ui/uitest/uiobject.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/source/ui/uitest/uiobject.cxx b/sc/source/ui/uitest/uiobject.cxx index 593bda617eed..d257b4161b3b 100644 --- a/sc/source/ui/uitest/uiobject.cxx +++ b/sc/source/ui/uitest/uiobject.cxx @@ -91,6 +91,13 @@ void ScGridWinUIObject::execute(const OUString& rAction, pFunc->MarkRange(aRange, true, bExtend); mxGridWindow->CursorChanged(); } + else if (rParameters.find("TABLE") != rParameters.end()) + { + auto itr = rParameters.find("TABLE"); + const OUString rStr = itr->second; + sal_Int32 nTab = rStr.toUInt32(); + mxGridWindow->getViewData()->SetTabNo(nTab); + } else { SAL_WARN("sc.uitest", "unknown selection method"); |