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-09-12 17:59:02 +0200
commit0f7dc36f3d8688805584f6269f722f4b75c83ea8 (patch)
treec7194ba1ad18eb82b0ce83e756c7911282bff04a /desktop
parentbcef1c1c21b5819343e2d4b324fe57635ffcb4a1 (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 a09bd793e159..1f5842e1ea26 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3926,6 +3926,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);
@@ -3950,8 +3952,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();
}