office-gobmx/linguistic
Noel Grandin fed3920616 fix SAL_WARN when instantiating Thesaurus
Before
    commit 3fbadfa1ad
    lingucomponent: create instances with uno constructors
Thesaurus was constructed but Thesaurus::initialize was NOT being called
from GetAvailLocales.

However, we have some code marked "HACK" in
   cppuhelper/source/servicemanager.cxx
i.e.
   ServiceManager....::createInstanceWithArguments
which DOES call initialize.

And we have code in GetAvailLocales which passes what Thesuarus
considers an invalid number of arguments, because all the other similar
services DO take 2 args (even though they don't use the second arg!)

So we have a bunch of temporary hack and backwards compat stuff
interacting, causing a SAL_WARN.

So make Thesauras::initialize a little more tolerant, which means we're
now initialising it, which is a change in behaviour, so if this commit
comes up a regression, we will need find another warn to stop the
warning.

Change-Id: I60e0ed1bd2d4fbccbc539b5536aba055a7dfc6c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99039
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-07-20 17:28:33 +02:00
..
inc
qa
source fix SAL_WARN when instantiating Thesaurus 2020-07-20 17:28:33 +02:00
workben
IwyuFilter_linguistic.yaml
JunitTest_linguistic_complex.mk
JunitTest_linguistic_unoapi.mk
Library_lng.mk linguistic: create instances with uno constructors 2020-07-14 11:51:32 +02:00
Makefile
Module_linguistic.mk
README

Handles registered modules for spellchecker, hyphenator and thesaurus.