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:26 +0200
commitdef36294754a7263101b421166195eb1b95d6d6f (patch)
tree23067b31d3b9565f26b7cbc4413b101b42912191
parentb8db40fb2eb39c4330de475a7cc8155d16479218 (diff)
Related: tdf#109856 redo 'insert multiple tabs after' inserts too many tabs
Change-Id: I50e8941408343f8fa9acf017d7c195279952916d Reviewed-on: https://gerrit.libreoffice.org/40628 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 7245cc99a1f6..7a8311525e8a 100644
--- a/sc/source/ui/undo/undotab.cxx
+++ b/sc/source/ui/undo/undotab.cxx
@@ -226,7 +226,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;