summaryrefslogtreecommitdiff
path: root/sw/source/core/doc
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-11-02 19:26:19 +0100
committerMichael Stahl <Michael.Stahl@cib.de>2018-11-10 19:47:00 +0100
commit4bb4a3b2cc0b71342ef780876173c88720e1af90 (patch)
tree940ca80447d58b33dd30268218aa52644261559c /sw/source/core/doc
parentffe2607d5aedde495eb14d881b352761aa0233f6 (diff)
sw_redlinehide_3: update frames in MoveParagraph()
... if redlining is disabled and MoveNodeRange is called. Change-Id: I8c4e35b1b783446ab9bd888599bcce44222857e8
Diffstat (limited to 'sw/source/core/doc')
-rw-r--r--sw/source/core/doc/DocumentContentOperationsManager.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx b/sw/source/core/doc/DocumentContentOperationsManager.cxx
index 0ae7f5852c7a..6619151c0a72 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 );