path: root/vcl/source/window/layout.cxx
diff options
authorLászló Németh <>2020-06-24 17:18:31 +0200
committerLászló Németh <>2020-06-25 10:12:43 +0200
commite318d5d8146d18e2c76e23f2e3c39527f2af9f36 (patch)
treea681e40207497705e97890aa0660c2bb648b22c1 /vcl/source/window/layout.cxx
parent6f151be2994b0e78a890c13ccdd9249f1800c6de (diff)
tdf#125893 DOCX import: fix "half" contextual paragraph spacing
Always ignore own top margin setting of the actual paragraph with contextual spacing, if the previous paragraph is identical. I.e. in that case, too, when the previous paragraph has no contextual spacing, like MSO does. Note: PARA_SPACE_MAX mode hasn't included this modification, yet, so only ODT documents converted from DOCX use it at the default setting. See also commit ba18832ceeda21f047a664b71a4333a54737e6c8 (tdf#75221: make margin collapsing implementation conform OASIS proposal) Change-Id: Ida9d12b2c511fcd5e38ade7eb5f4650387c65813 Reviewed-on: Tested-by: Jenkins Reviewed-by: László Németh <>
Diffstat (limited to 'vcl/source/window/layout.cxx')
0 files changed, 0 insertions, 0 deletions