tdf#62032 use style list level when changing style
commit998e5b53478a20ddbda66e92d8fd6ad73412ff57
authorluigiiucci <luigi.iucci@collabora.com>
Thu, 15 Jun 2023 21:31:26 +0000 (15 23:31 +0200)
committerAron Budea <aron.budea@collabora.com>
Thu, 3 Aug 2023 22:49:01 +0000 (4 00:49 +0200)
treedb08003a1fc9a83b3760ea8984bbe367a29e4705
parentc3b32a95236edeadd9450c7b989a259e82476b8f
tdf#62032 use style list level when changing style

If a style S1 has a list level L1, and we
change the style to S1 in a text node that
has list level L2, the new text node
list level must be L1

Change-Id: Ic25b222202cb2da3153fc5c3723998c9f7f01247
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153161
Reviewed-by: Ashod Nakashian <ash@collabora.com>
Tested-by: Jenkins
(cherry picked from commit c1cfe85f8bba10d367ef9ef1d6d569f53969dd34)
(cherry picked from commit d466d3b4422e6fc6405cf17bbeee48ae52fa1d3e)
sw/qa/extras/uiwriter/data/tdf62032_apply_style.odt [new file with mode: 0644]
sw/qa/extras/uiwriter/uiwriter4.cxx
sw/source/core/doc/docfmt.cxx