summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/printer/ppdparser.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-07-19 15:32:59 +0200
committerAndras Timar <andras.timar@collabora.com>2018-08-20 12:00:24 +0200
commit27b158a408dc161605e9a92d54cf6c0b1fb5909f (patch)
tree939d8b9ea3d6a46c61e22f8e2883cba2a2c660a5 /vcl/unx/generic/printer/ppdparser.cxx
parent073307c085ebdf4f3d7f52ab21589a6e7edb64fe (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. Conflicts: sw/qa/extras/uiwriter/uiwriter2.cxx (cherry picked from commit 340eaa6aa15c18cc2696a4a304350810cb36565c) Change-Id: Ie5dcf6ed86c240fd61c4d5bfed886910aea3648f Reviewed-on: https://gerrit.libreoffice.org/57770 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit 499c31d83f3ad6356678ae9103e7e0748ff45ad7)
Diffstat (limited to 'vcl/unx/generic/printer/ppdparser.cxx')
0 files changed, 0 insertions, 0 deletions