libreofficekit/source/gtk/lokdocview.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 6bcdbb97b99369b20f6f1d2bdbc6eca1ff1f1150 Author: Michael Meeks <michael.me...@collabora.com> AuthorDate: Thu Oct 22 22:09:33 2020 +0100 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Mon Oct 26 08:51:07 2020 +0100 Allow some spelling dictionaries for gtktiledviewer. Change-Id: Ie3e646321aff2705d908b25e4beff0768a5936fb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104703 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index 6af262bb8df2..466a1cc85b0e 100644 --- a/libreofficekit/source/gtk/lokdocview.cxx +++ b/libreofficekit/source/gtk/lokdocview.cxx @@ -2779,6 +2779,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_ALLOWLIST_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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits