summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-08-01 11:34:22 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-02 03:48:22 +0200
commiteeff6a8f70184aa55f95bd8897a6ed8e125ad72f (patch)
tree1d36e8901ac44e9d16778f1f8b6e680639443091
parentfbfa25a14164abe77f11323cdf3249f8b1d528ea (diff)
Related: tdf#109856 redo 'insert multiple tabs after' inserts too many tabs
Change-Id: I50e8941408343f8fa9acf017d7c195279952916d Reviewed-on: https://gerrit.libreoffice.org/40627 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--sc/source/ui/undo/undotab.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sc/source/ui/undo/undotab.cxx b/sc/source/ui/undo/undotab.cxx
index 9323e066978f..45a37dd1c079 100644
--- a/sc/source/ui/undo/undotab.cxx
+++ b/sc/source/ui/undo/undotab.cxx
@@ -224,7 +224,6 @@ void ScUndoInsertTables::Redo()
pDocShell->SetInUndo( true ); //! BeginRedo
bDrawIsInUndo = true;
- pViewShell->SetTabNo(nTab);
pViewShell->InsertTables( aNameList, nTab, static_cast<SCTAB>(aNameList.size()),false );
bDrawIsInUndo = false;