diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2020-10-14 15:21:24 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2020-10-16 11:14:34 +0200 |
commit | c69681e4b4797c4976160c46efe06beb4df4af5d (patch) | |
tree | ccf85a734537c14f5efc01e3bf922f841c363303 | |
parent | 42db7c8086abb205dbdcf6b44dcd5377866425e0 (diff) |
sw: fix unsorted redlines in SwTable::ConvertSubtableBox()
ooo12626-10.odt asserts because MoveNodeRange() handles redlines only
with an explicit flag.
(regression from e366c928819c44b5c253c45dca6dae40b71c9808)
Change-Id: I80c6e696e51c6d9c366af30ecf8b6df265d0fc91
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104286
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Tested-by: Jenkins
(cherry picked from commit 48a76ea268b4c7fe499abe858074420dd7b152e2)
-rw-r--r-- | sw/source/core/table/swnewtable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/table/swnewtable.cxx b/sw/source/core/table/swnewtable.cxx index 892b31e807cc..918ba94fcfea 100644 --- a/sw/source/core/table/swnewtable.cxx +++ b/sw/source/core/table/swnewtable.cxx @@ -2200,7 +2200,7 @@ void SwTable::ConvertSubtableBox(sal_uInt16 const nRow, sal_uInt16 const nBox) #if 0 pDoc->GetNodes().MoveNodes(content, pDoc->GetNodes(), insPos, false); #else - pDoc->getIDocumentContentOperations().MoveNodeRange(content, insPos, SwMoveFlags::NO_DELFRMS); + pDoc->getIDocumentContentOperations().MoveNodeRange(content, insPos, SwMoveFlags::NO_DELFRMS|SwMoveFlags::REDLINES); #endif // delete the empty node that was bundled in the new box pDoc->GetNodes().Delete(insPos); |