summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2020-04-16 22:24:23 -0400
committerHenry Castro <hcastro@collabora.com>2020-05-21 00:42:29 +0200
commit45ce9bf4413cf1fc65da01c758f7f9bed9b8df99 (patch)
tree43d0c6b017b33b93ada03563393e0ce9e6062d56 /include
parent400fc54e4288bfef1e3020f338df74fb5ae55e5b (diff)
lok: fix wrong metric conversion of the metric input control
The client side does not work well if the browser has different locale, and the input element conversion fails or change to a different value, so the value is converted to a neutral locale. Change-Id: I89f96844603a8552609d486590c7de752cb5a95c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92395 Reviewed-by: Henry Castro <hcastro@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93069 Tested-by: Jenkins Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94519 Tested-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/settings.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/settings.hxx b/include/vcl/settings.hxx
index 75894432f05d..b604efdea769 100644
--- a/include/vcl/settings.hxx
+++ b/include/vcl/settings.hxx
@@ -682,6 +682,7 @@ public:
static bool GetMathLayoutRTL(); // returns true if UI language requires right-to-left Math Layout
const LocaleDataWrapper& GetLocaleDataWrapper() const;
const LocaleDataWrapper& GetUILocaleDataWrapper() const;
+ const LocaleDataWrapper& GetNeutroLocaleDataWrapper() const;
const vcl::I18nHelper& GetLocaleI18nHelper() const;
const vcl::I18nHelper& GetUILocaleI18nHelper() const;