desktop/source/lib/init.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1c4f8f5e610f3866fef283f101d1984108e70e63
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Mon Sep 16 17:33:44 2024 +0100
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Wed Sep 18 12:27:21 2024 +0200

    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 <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173556
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Tested-by: Jenkins
    (cherry picked from commit 9671a3d31e279a40378a7ddf05e57df982e4bc98)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173497
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>

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)

Reply via email to