desktop/source/lib/init.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 1c0035230c410f948a4dad718f2a942cdd7d20fe Author: Tamás Zolnai <tamas.zol...@collabora.com> Date: Wed May 9 16:48:54 2018 +0200 Better log about preloaded dicts. Change-Id: I906c0082f3ac3c701f7b02e5d35b998bb7ea4d59 Reviewed-on: https://gerrit.libreoffice.org/54044 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zol...@collabora.com> 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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits