diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-01-24 17:01:29 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-01-24 18:18:28 +0100 |
commit | ff139ea42279cc9861abb13e22878c9d435acb21 (patch) | |
tree | 68d2bd4e87cc7a76fc384ba825de6833e67b57e1 /sd | |
parent | e064188f7ddc68040fa89c7d81ab974517c45f44 (diff) |
DOCX export: fix line spacing when spacing is 0
When the input was:
<w:pPr>
<w:spacing w:line="0" w:lineRule="atLeast"/>
</w:pPr>
Then we used to write:
<w:pPr>
<w:spacing w:lineRule="auto"/>
</w:pPr>
which is clarly wrong.
The comment at the end of AttributeOutputBase::ParaLineSpacing()
documents the intention reasonably clearly (and is in sync with what's
in the DOC and DOCX spec), adapt
DocxAttributeOutput::ParaLineSpacing_Impl() accordingly.
Change-Id: I60cbc3392a6460ba2760b2c02ae0755726478ec1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87351
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sd')
0 files changed, 0 insertions, 0 deletions