[calligra] libs/kotext/styles: fixes wrong writing of double-border style also with a non-double border

Thorsten Zachmann t.zachmann at zagge.de
Tue Jul 17 17:01:44 BST 2012


Hello Friedrich,

On Tuesday 17 July 2012 17:10:44 Friedrich W. H. Kossebau wrote:
> Aha, thanks.
> 
> So this means the parsing code is broken. And fixing it needs somebody
> writing non-trivial parsing code :/ Anyknown knows similar code for a
> similar problem in other parts of Calligra code?

I don't know any of such code. But in the above case it should be quite simple 
as each field has a destinct content so the order is not problematic. I guess 
first all strings need to be checked and if that does not fit the lenght can be 
used.

Hope that helps,

Thorsten





More information about the calligra-devel mailing list