[Libreoffice-commits] core.git: Branch 'private/mst/sw_redlinehide_3' - sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Nov 2 18:28:00 UTC 2018


 sw/source/core/doc/DocumentContentOperationsManager.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit bc4b13fd98fbc0f93d79079ef1e2620c760cea76
Author:     Michael Stahl <Michael.Stahl at cib.de>
AuthorDate: Fri Nov 2 19:26:19 2018 +0100
Commit:     Michael Stahl <Michael.Stahl at cib.de>
CommitDate: Fri Nov 2 19:26:19 2018 +0100

    sw_redlinehide_3: update frames in MoveParagraph()
    
    ... if redlining is are disabled and MoveNodeRange is called.
    
    Change-Id: I8c4e35b1b783446ab9bd888599bcce44222857e8

diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx b/sw/source/core/doc/DocumentContentOperationsManager.cxx
index 8dcec0a9fd15..4854afde55c1 100644
--- a/sw/source/core/doc/DocumentContentOperationsManager.cxx
+++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx
@@ -826,6 +826,10 @@ namespace
         {
             rSvRedLine.SetPos( nInsPos );
             pDoc->getIDocumentRedlineAccess().AppendRedline( rSvRedLine.pRedl, true );
+            if (rSvRedLine.pRedl->GetType() == nsRedlineType_t::REDLINE_DELETE)
+            {
+                UpdateFramesForAddDeleteRedline(*pDoc, *rSvRedLine.pRedl);
+            }
         }
 
         pDoc->getIDocumentRedlineAccess().SetRedlineFlags_intern( eOld );


More information about the Libreoffice-commits mailing list