diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-10-25 16:35:07 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-11-10 19:47:00 +0100 |
commit | 54d27c03e0603d55016678bf94e9191fae0b8c2f (patch) | |
tree | a9b2ff93f7c84a24ac74557162d0d2b7752f7716 | |
parent | 346991bc599c081efea91ad79a0a9a9936eaca86 (diff) |
sw_redlinehide_3: update frames in SwDoc::MoveParagraph()
... for hidden mode.
Change-Id: I61f240ee7e4e3b61d53b07170be195c15fd679ae
-rw-r--r-- | sw/source/core/doc/docnum.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/doc/docnum.cxx b/sw/source/core/doc/docnum.cxx index 299d493c2250..73b8a4dac62f 100644 --- a/sw/source/core/doc/docnum.cxx +++ b/sw/source/core/doc/docnum.cxx @@ -2088,6 +2088,10 @@ bool SwDoc::MoveParagraph( const SwPaM& rPam, long nOffset, bool bIsOutlMv ) getIDocumentRedlineAccess().AppendRedline( pNewRedline, true ); + aPam.GetBound().nContent.Assign(aPam.GetBound().nNode.GetNode().GetContentNode(), 0); + aPam.GetBound(false).nContent.Assign(aPam.GetBound(false).nNode.GetNode().GetContentNode(), 0); + sw::UpdateFramesForAddDeleteRedline(*this, aPam); + // Still NEEDS to be optimized! getIDocumentRedlineAccess().SetRedlineFlags( eOld ); GetIDocumentUndoRedo().EndUndo( SwUndoId::END, nullptr ); |