• Miklos Vajna's avatar
    tdf#101534 sw: fix lost indent attributes when copying into numbered paragraph · 340eaa6a
    Miklos Vajna yazdı
    Commit aa91dc0c (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/57727Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
    Tested-by: Jenkins
    340eaa6a
CppunitTest_sw_uiwriter.mk 2.09 KB