[PATCH] avoid Possible null pointer dereference in linguistic/source/spelldsp.hxx

Ivan Timofeev timofeev.i.s at gmail.com
Sat Feb 11 08:31:15 PST 2012


On 11.02.2012 20:13, julien2412 wrote:
> What about the Riccardo's suggestion ?

Oh, it is better then mine wrt cheating cppcheck :) But I hate the hacks 
like
((SpellCheckerDispatcher *) this)->...

A type cast from const to non-const looks like a black magic to me.

Regards,
Ivan


More information about the LibreOffice mailing list