[PATCH] fdo#50141: Word Count Characters (with spaces) incorrect with Numbering on

Muhammad Haggag mhaggag at gmail.com
Sat Jun 9 14:57:04 PDT 2012


= Bug =
https://bugs.freedesktop.org/show_bug.cgi?id=50141

= Patch =
https://bugs.freedesktop.org/attachment.cgi?id=62850

= Patch Review =
https://bugs.freedesktop.org/page.cgi?id=splinter.html&bug=50141&attachment=62850

= Changes =
There was a typo in the character counting code of text nodes. When a 
numbered list is detected, the code attempts to add the character count 
of the "item number" to the total count, but ends up overwriting it 
instead (uses '=' instead of '+='). This resulted in the item number 
strings to be the only ones counted in a numbered list.

Regards,
--Muhammad


More information about the LibreOffice mailing list