summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorAron Budea <aron.budea@collabora.com>2018-07-06 15:32:49 +0200
committerJan Holesovsky <kendy@collabora.com>2018-10-08 17:31:03 +0200
commite93a5993c370203cfd4104803b6976626d1389e1 (patch)
tree1e263f9f67c382891bf51ec46f8a1814239bdaa4 /desktop
parent752494ee759efdf976c44ffd6408a7f861215901 (diff)
desktop: move dictionary preload before font init
spell-checker is initialized during font init since e7f65920b12517b31f0c5cbfd0dcb8df96d20ba4 Change-Id: Ia5b5223aa8cc00d0e80451142ae18a7046ad00d4 Reviewed-on: https://gerrit.libreoffice.org/57064 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index db92368d6cb0..a5b79d6ec840 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -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();
}