I have a 'replacement' patch that actually replaces most of if...else if...else 
chains with
switches.
They are more legible and seem natural when choosing branches depending on the 
same variable.
The performance of a switch should  also be better, but turbo boost should not 
be expected ;).
Two declarations of unused variable removed by-the-way.
Anyway, all started with cppcheck warning about duplicate branches for if-else.

Question I have, is how do I submit the patch:
 - as a reply to this thread, or
 - a new patch in a new thread?

Regards,
Mariusz Dykierek
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to