diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-09-16 17:33:44 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2024-09-18 12:27:21 +0200 |
commit | 1c4f8f5e610f3866fef283f101d1984108e70e63 (patch) | |
tree | 08b834a212cfdee08d0446c34e054a14e57eb5c4 /desktop | |
parent | 04a33cd368ab77c636160915e4ac4721b7e10c5e (diff) |
This should iterate over the thesaurus languages, not the spelling ones
Change-Id: I94410274f7afbc0a6bc33fe43beb9810a905dfe4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173467
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173556
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
(cherry picked from commit 9671a3d31e279a40378a7ddf05e57df982e4bc98)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173497
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index be7cf1554ccc..a892eb51a981 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -7610,7 +7610,7 @@ static void preloadData() // preload all available thesauri css::uno::Reference<linguistic2::XThesaurus> xThesaurus(xLngSvcMgr->getThesaurus()); - css::uno::Reference<linguistic2::XSupportedLocales> xThesLocales(xSpellChecker, css::uno::UNO_QUERY_THROW); + css::uno::Reference<linguistic2::XSupportedLocales> xThesLocales(xThesaurus, css::uno::UNO_QUERY_THROW); aLocales = xThesLocales->getLocales(); std::cerr << "Preloading thesauri: "; for (auto& it : aLocales) |