Review Request: [kofficetests-odt/odf/odt/parag-decorations.odt] fixes wrong writing of double-border style also with a non-double border
Commit Hook
null at kde.org
Fri Jul 6 18:28:24 BST 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105431/#review15470
-----------------------------------------------------------
This review has been submitted with commit 302162a6b604cd0b5b3225bf3dccb5e95f12834f by Friedrich W. H. Kossebau to branch calligra/2.5.
- Commit Hook
On July 4, 2012, 7:32 a.m., Friedrich W. H. Kossebau wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105431/
> -----------------------------------------------------------
>
> (Updated July 4, 2012, 7:32 a.m.)
>
>
> Review request for Calligra.
>
>
> Description
> -------
>
> The property {Top,Bottom,Left,Right}BorderWidth is also set for single-line borders, so the current check e.g. "hasProperty(LeftBorderWidth)" will result in "style:border-line-width-left" being written for any style with a borderwidth != 0.
>
> Attached patch fixes that, by instead checking if the border style is "double" and only then writing style:border-line-width*.
>
> Okay to backport to 2.5?
>
>
> Diffs
> -----
>
> libs/kotext/styles/KoParagraphStyle.cpp 844903a
>
> Diff: http://git.reviewboard.kde.org/r/105431/diff/
>
>
> Testing
> -------
>
> validateODF.py parag-decorations.odt gives zero output.
>
>
> Thanks,
>
> Friedrich W. H. Kossebau
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20120706/0ffb4b06/attachment.htm>
More information about the calligra-devel
mailing list