From ecfd40a1bcc1fc8cdc40bdd27ea1f00ba652707e Mon Sep 17 00:00:00 2001 From: Tamás Zolnai Date: Mon, 2 Apr 2018 22:52:46 +0200 Subject: lok: Make the bundled dictionaries work. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Create the user directory temporary in the temp directory and use that to load the dictionaries (bundled extensions). Co-author; Jan Holesovsky Change-Id: I5c7c824b68571048ce870fd5218cb47a333f3ad8 Reviewed-on: https://gerrit.libreoffice.org/49495 Reviewed-by: Jan Holesovsky Tested-by: Jenkins Reviewed-by: Tamás Zolnai --- .../source/deployment/registry/configuration/dp_configuration.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'desktop/source/deployment') diff --git a/desktop/source/deployment/registry/configuration/dp_configuration.cxx b/desktop/source/deployment/registry/configuration/dp_configuration.cxx index 5739d3f444c0..0393e934e343 100644 --- a/desktop/source/deployment/registry/configuration/dp_configuration.cxx +++ b/desktop/source/deployment/registry/configuration/dp_configuration.cxx @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include @@ -708,8 +709,8 @@ void BackendImpl::PackageImpl::processPackage_( } //No need for live-deployment for bundled extension, because OOo //restarts after installation - if (that->m_eContext != Context::Bundled - && !startup) + if ((that->m_eContext != Context::Bundled && !startup) + || comphelper::LibreOfficeKit::isActive()) { if (m_isSchema) { -- cgit