The problem was that a list entry with subpoints
(i.e. an offset of more than 1)
was being broken up by a list entry moving down
if it was the last list entry before a non-textnode
(like before a table, or at the end of the document).
Before a section, the move was being refused outright.
Both of those situations are fixed by this patch.
make CppunitTest_sw_uiwriter11 \
CPPUNIT_TEST_NAME=testTdf149061_moveNumParas
Change-Id: I7ebceb65780ca7e480333bc77f1302a40472164c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208178
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Jenkins