Kaydet (Commit) e93a5993 authored tarafından Aron Budea's avatar Aron Budea Kaydeden (comit) Jan Holesovsky

desktop: move dictionary preload before font init

spell-checker is initialized during font init

since e7f65920

Change-Id: Ia5b5223aa8cc00d0e80451142ae18a7046ad00d4
Reviewed-on: https://gerrit.libreoffice.org/57064Reviewed-by: 's avatarAshod Nakashian <ashnakash@gmail.com>
Tested-by: 's avatarAshod Nakashian <ashnakash@gmail.com>
üst 752494ee
......@@ -3985,6 +3985,8 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char
VclBuilder::preload();
VclAbstractDialogFactory::Create();
preloadData();
// Initialize fonts.
css::uno::Sequence< css::lang::Locale > aLocales;
css::uno::Reference<css::linguistic2::XLinguServiceManager2> xLangSrv = css::linguistic2::LinguServiceManager::create(xContext);
......@@ -4009,8 +4011,6 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char
OutputDevice::GetDefaultFont(DefaultFontType::CTL_SPREADSHEET, nLang, GetDefaultFontFlags::OnlyOne);
}
preloadData();
// Release Solar Mutex, lo_startmain thread should acquire it.
Application::ReleaseSolarMutex();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment