[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - libreofficekit/source
Michael Meeks (via logerrit)
logerrit at kemper.freedesktop.org
Fri Oct 23 00:15:54 UTC 2020
libreofficekit/source/gtk/lokdocview.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 60dc53b57783248a13757b7ca3dd37c8ef3048bd
Author: Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Thu Oct 22 22:09:33 2020 +0100
Commit: Michael Meeks <michael.meeks at collabora.com>
CommitDate: Fri Oct 23 02:15:17 2020 +0200
Allow some spelling dictionaries for gtktiledviewer.
Change-Id: Ie3e646321aff2705d908b25e4beff0768a5936fb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104702
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Tested-by: Michael Meeks <michael.meeks at collabora.com>
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index 4ebcd6806d19..3eb5a5753085 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -2716,6 +2716,9 @@ static gboolean lok_doc_view_initable_init (GInitable *initable, GCancellable* /
if (priv->m_bUnipoll)
g_setenv("SAL_LOK_OPTIONS", "unipoll", FALSE);
+ static const char *testingLangs = "de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru";
+ g_setenv("LOK_WHITELIST_LANGUAGES", testingLangs, FALSE);
+
priv->m_pOffice = lok_init_2(priv->m_aLOPath.c_str(), priv->m_aUserProfileURL.empty() ? nullptr : priv->m_aUserProfileURL.c_str());
if (priv->m_pOffice == nullptr)
More information about the Libreoffice-commits
mailing list