From 3fd6c24e3cddf41f88ec6a7405f4848209002adb Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 1 Aug 2017 11:34:22 +0100 Subject: Related: tdf#109856 redo 'insert multiple tabs after' inserts too many tabs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I50e8941408343f8fa9acf017d7c195279952916d Reviewed-on: https://gerrit.libreoffice.org/40626 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sc/source/ui/undo/undotab.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'sc/source/ui/undo') 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(aNameList.size()),false ); bDrawIsInUndo = false; -- cgit