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)