desktop/source/lib/init.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit cc4228b028d969a9bb49a5d2451eaa88aa400eae Author: Jan Holesovsky <ke...@collabora.com> AuthorDate: Thu Mar 21 14:18:35 2019 +0100 Commit: Jan Holesovsky <ke...@collabora.com> CommitDate: Fri Mar 22 14:40:17 2019 +0100 lok: Keep the temporary user profile set during the entire preload. Otherwise the core likes to crash due to the keyboard accellerators being read, but the configuration is missing. Change-Id: I94193f47462227b5975a49ce11709d7bf415a519 Reviewed-on: https://gerrit.libreoffice.org/69508 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <ke...@collabora.com> diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 84d9b4b59976..a83af85d4441 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -4392,9 +4392,6 @@ static void preloadData() } std::cerr << "\n"; - // Set user profile's path back to the original one - rtl::Bootstrap::set("UserInstallation", sUserPath); - css::uno::Reference< css::ui::XAcceleratorConfiguration > xGlobalCfg; xGlobalCfg = css::ui::GlobalAcceleratorConfiguration::create( comphelper::getProcessComponentContext()); @@ -4434,6 +4431,9 @@ static void preloadData() nLang = MsLangId::resolveSystemLanguageByScriptType(LanguageTag::convertToLanguageType(aLocale, false), COMPLEX); OutputDevice::GetDefaultFont(DefaultFontType::CTL_SPREADSHEET, nLang, GetDefaultFontFlags::OnlyOne); } + + // Set user profile's path back to the original one + rtl::Bootstrap::set("UserInstallation", sUserPath); } static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char* pUserProfileUrl) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits