diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2018-05-09 16:48:54 +0200 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2018-05-09 20:44:09 +0200 |
commit | 1c0035230c410f948a4dad718f2a942cdd7d20fe (patch) | |
tree | 2ca1de7fce265bb5969a61719f0d3b2638f9904f /desktop/source | |
parent | 48078ed27c6a50c270f3a2af75d61c37dd8b6c1c (diff) |
Better log about preloaded dicts.
Change-Id: I906c0082f3ac3c701f7b02e5d35b998bb7ea4d59
Reviewed-on: https://gerrit.libreoffice.org/54044
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/lib/init.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 07c2226c8717..e07fe4babb2a 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -3653,8 +3653,6 @@ static void lo_status_indicator_callback(void *data, comphelper::LibreOfficeKit: /// Used only by LibreOfficeKit when used by Online to pre-initialize static void preloadData() { - std::cerr << "Preloading dictionaries: "; - // Create user profile in the temp directory for loading the dictionaries OUString sUserPath; rtl::Bootstrap::get("UserInstallation", sUserPath); @@ -3673,6 +3671,7 @@ static void preloadData() css::linguistic2::LinguServiceManager::create(comphelper::getProcessComponentContext()); css::uno::Reference<linguistic2::XSpellChecker> xSpellChecker(xLngSvcMgr->getSpellChecker()); + std::cerr << "Preloading dictionaries: "; css::uno::Reference<linguistic2::XSupportedLocales> xSpellLocales(xSpellChecker, css::uno::UNO_QUERY_THROW); uno::Sequence< css::lang::Locale > aLocales = xSpellLocales->getLocales(); for (auto &it : aLocales) |