Kaydet (Commit) 455fe33d authored tarafından Markus Mohrhard's avatar Markus Mohrhard

uitest: fix small bug when trying to select different sheet in calc

Change-Id: I83e2b8dc1b0da9f28475994493e3776c898a5729
Reviewed-on: https://gerrit.libreoffice.org/50853Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 1b0beef8
......@@ -131,7 +131,9 @@ void ScGridWinUIObject::execute(const OUString& rAction,
auto itr = rParameters.find("TABLE");
const OUString rStr = itr->second;
sal_Int32 nTab = rStr.toUInt32();
mxGridWindow->getViewData()->SetTabNo(nTab);
ScTabView* pTabView = mxGridWindow->getViewData()->GetView();
if (pTabView)
pTabView->SetTabNo(nTab);
}
else if (rParameters.find("OBJECT") != rParameters.end())
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment