Kaydet (Commit) bd88f41d authored tarafından Aron Budea's avatar Aron Budea Kaydeden (comit) Ashod Nakashian

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 41dd7b00
...@@ -3835,6 +3835,8 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char ...@@ -3835,6 +3835,8 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char
// 3) InitVCL() // 3) InitVCL()
aService->initialize({css::uno::makeAny<OUString>("preload")}); aService->initialize({css::uno::makeAny<OUString>("preload")});
preloadData();
// Initialize fonts. // Initialize fonts.
css::uno::Sequence< css::lang::Locale > aLocales; css::uno::Sequence< css::lang::Locale > aLocales;
css::uno::Reference<css::linguistic2::XLinguServiceManager2> xLangSrv = css::linguistic2::LinguServiceManager::create(xContext); css::uno::Reference<css::linguistic2::XLinguServiceManager2> xLangSrv = css::linguistic2::LinguServiceManager::create(xContext);
...@@ -3859,8 +3861,6 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char ...@@ -3859,8 +3861,6 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char
OutputDevice::GetDefaultFont(DefaultFontType::CTL_SPREADSHEET, nLang, GetDefaultFontFlags::OnlyOne); OutputDevice::GetDefaultFont(DefaultFontType::CTL_SPREADSHEET, nLang, GetDefaultFontFlags::OnlyOne);
} }
preloadData();
// Release Solar Mutex, lo_startmain thread should acquire it. // Release Solar Mutex, lo_startmain thread should acquire it.
Application::ReleaseSolarMutex(); 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