diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2019-07-29 09:21:27 -0400 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2019-10-30 22:50:46 +0100 |
commit | 369eac81d4a5aa629762d04f1a9b9696ffec8f1f (patch) | |
tree | 018f7bb716540cb4e8b32fd6224072d5958415de | |
parent | 97f9af714ea1c46e498fa99f7ca34fc1708d38a6 (diff) |
gtktiledviewer: always load with en-US language
This is the default for Online, so makes sense
to have the same in the gtktiledviewer as well.
Change-Id: I8c4729aa301069e246554b06671ad86bbe50c441
Reviewed-on: https://gerrit.libreoffice.org/81778
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index 122c6dcc4149..0e710d5faf27 100644 --- a/libreofficekit/source/gtk/lokdocview.cxx +++ b/libreofficekit/source/gtk/lokdocview.cxx @@ -2227,7 +2227,7 @@ openDocumentInThread (gpointer data) } priv->m_pOffice->pClass->registerCallback(priv->m_pOffice, globalCallbackWorker, pDocView); - priv->m_pDocument = priv->m_pOffice->pClass->documentLoad( priv->m_pOffice, priv->m_aDocPath.c_str() ); + priv->m_pDocument = priv->m_pOffice->pClass->documentLoadWithOptions( priv->m_pOffice, priv->m_aDocPath.c_str(), "en-US" ); if ( !priv->m_pDocument ) { char *pError = priv->m_pOffice->pClass->getError( priv->m_pOffice ); |