summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/undo
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-08-01 11:34:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-08-01 13:19:58 +0200
commit3fd6c24e3cddf41f88ec6a7405f4848209002adb (patch)
tree0df0effb148736522b2330f8767f8d3126fd4036 /sc/source/ui/undo
parentRelated: tdf#108655 only write to config if values changed (diff)
downloadcore-3fd6c24e3cddf41f88ec6a7405f4848209002adb.tar.gz
core-3fd6c24e3cddf41f88ec6a7405f4848209002adb.zip
Related: tdf#109856 redo 'insert multiple tabs after' inserts too many tabs
Change-Id: I50e8941408343f8fa9acf017d7c195279952916d Reviewed-on: https://gerrit.libreoffice.org/40626 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/undo')
-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 09bcd659431b..b7224b805423 100644
--- a/sc/source/ui/undo/undotab.cxx
+++ b/sc/source/ui/undo/undotab.cxx
@@ -225,7 +225,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;