[Libreoffice-commits] core.git: Branch 'libreoffice-5-4' - sc/source

Caolán McNamara caolanm at redhat.com
Wed Aug 2 01:49:24 UTC 2017


 sc/source/ui/undo/undotab.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit eeff6a8f70184aa55f95bd8897a6ed8e125ad72f
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Aug 1 11:34:22 2017 +0100

    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 at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

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;


More information about the Libreoffice-commits mailing list