diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2020-10-22 22:09:33 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-26 08:51:07 +0100 |
commit | 6bcdbb97b99369b20f6f1d2bdbc6eca1ff1f1150 (patch) | |
tree | c5ec50cdee4a6abb5a0b0a59bd634182a16266f1 /libreofficekit | |
parent | 96cc36009d9dbec9d146683a22121b0394197ab0 (diff) |
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.grandin@collabora.co.uk>
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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) |