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

Friedrich W. H. Kossebau kossebau at kde.org
Tue Jul 17 17:10:33 BST 2012


Am Dienstag, 17. Juli 2012, 18:01:44 schrieb Thorsten Zachmann:
> 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,

Yes, already drafted some code with that approach, as coding challenge :)
So if there is no similar code yet, I will push that code to something 
presentable and do a patch, with extended unit test.

Cheers
Friedrich



More information about the calligra-devel mailing list