[Libreoffice-commits] core.git: Branch 'libreoffice-7-0-2' - sw/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Sep 30 11:16:22 UTC 2020


 sw/source/core/undo/unattr.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 0218f75a6f2a4504993aacf1c9dfccd462cdf603
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Sep 28 14:05:00 2020 +0100
Commit:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Wed Sep 30 13:15:48 2020 +0200

    tdf#133358 fix crash in redoing indent
    
    since...
    
    commit b070202b420129b5edd368420e0e50ec45261d01
    Date:   Tue Nov 20 18:26:18 2018 +0100
    
        sw_redlinehide_4a: SwEditShell::IsMoveLeftMargin(), MoveLeftMargin()
    
    Change-Id: Ie28207747560153020341305015f1693f6ca9f50
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103552
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.stahl at cib.de>
    (cherry picked from commit dc6e005c79b6c23b805dea44cd89fa83ea945f03)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103577
    Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
    (cherry picked from commit fdc92d35d95f5b89a333cc48fdc36108e1094973)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103582
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
    Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/sw/source/core/undo/unattr.cxx b/sw/source/core/undo/unattr.cxx
index efc6999fb7c4..bccbaba80d6f 100644
--- a/sw/source/core/undo/unattr.cxx
+++ b/sw/source/core/undo/unattr.cxx
@@ -913,14 +913,15 @@ void SwUndoMoveLeftMargin::RedoImpl(::sw::UndoRedoContext & rContext)
     SwPaM & rPam = AddUndoRedoPaM(rContext);
 
     rDoc.MoveLeftMargin( rPam,
-                         GetId() == SwUndoId::INC_LEFTMARGIN, m_bModulus );
+                         GetId() == SwUndoId::INC_LEFTMARGIN, m_bModulus,
+                         rDoc.getIDocumentLayoutAccess().GetCurrentLayout() );
 }
 
 void SwUndoMoveLeftMargin::RepeatImpl(::sw::RepeatContext & rContext)
 {
     SwDoc & rDoc = rContext.GetDoc();
     rDoc.MoveLeftMargin(rContext.GetRepeatPaM(), GetId() == SwUndoId::INC_LEFTMARGIN,
-                        m_bModulus );
+                        m_bModulus, rDoc.getIDocumentLayoutAccess().GetCurrentLayout());
 }
 
 SwUndoChangeFootNote::SwUndoChangeFootNote(


More information about the Libreoffice-commits mailing list