diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-19 15:32:59 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-19 17:46:26 +0200 |
commit | 340eaa6aa15c18cc2696a4a304350810cb36565c (patch) | |
tree | dc29c9dc98a7e5e7b112f83eef2209da066bdd8d /sw/CppunitTest_sw_uiwriter.mk | |
parent | 049d436eaad05a3fbd2e64a558dfef3c03ce7448 (diff) |
tdf#101534 sw: fix lost indent attributes when copying into numbered paragraph
Commit aa91dc0ccbe53ffcec9dbfec2265de057775d4e3 (CWS-TOOLING: integrate
CWS sw32numbf01, 2009-09-08) replaced the SwDoc::ReplaceNumRule() call
with SwDoc::SetNumRule(), as the later handles list ids. This required a
decision if resetting of the indent attributes is needed or not, but it
did not document why resetting was chosen.
On the other hand, the current bugdoc shows why resetting is a bad idea:
this way if you paste into a numbered paragraph which has a non-zero
paragraph indent inherited from the numbering + zero indent as direct
formatting, then this later is lost during paste.
Change-Id: Ie5dcf6ed86c240fd61c4d5bfed886910aea3648f
Reviewed-on: https://gerrit.libreoffice.org/57727
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'sw/CppunitTest_sw_uiwriter.mk')
-rw-r--r-- | sw/CppunitTest_sw_uiwriter.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/CppunitTest_sw_uiwriter.mk b/sw/CppunitTest_sw_uiwriter.mk index bb3271ec9fa3..d11d1754892b 100644 --- a/sw/CppunitTest_sw_uiwriter.mk +++ b/sw/CppunitTest_sw_uiwriter.mk @@ -13,6 +13,7 @@ $(eval $(call gb_CppunitTest_CppunitTest,sw_uiwriter)) $(eval $(call gb_CppunitTest_add_exception_objects,sw_uiwriter, \ sw/qa/extras/uiwriter/uiwriter \ + sw/qa/extras/uiwriter/uiwriter2 \ )) # note: this links msword only for the reason to have a order dependency, |