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

--- Comment #3 from Khaled Hosny <khaledho...@eglug.org> ---
I thought, naïvely, that may be I can try to use MsLangId::getPrimaryLanguage()
as fallback.

First, SpellChecker::hasLocale() in
lingucomponent/source/spellcheck/spell/sspellimp.cxx is never called (not by
Writer at least), so whatever I do there does not matter.

What gets called, however, is SpellCheckerDispatcher::hasLocale() in
linguistic/source/spelldsp.cxx (which took me a while to find going through all
that convoluted UNO stuff), but passing the primary language to aSvcMap.find()
there does not find anything, apparently the spell checker for "ar" is never
registered or something, but I gave up at this point since the code on that
file is too clever for me to grasp.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to