diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-02-02 12:59:49 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-02-03 10:10:09 +0100 |
commit | 2b95b55983689d5476e89c27177351e2d6785047 (patch) | |
tree | 31202a954bbd1b6c37b5630b68c4c337e3d57212 /include/vcl | |
parent | 5a33b4df9201d5d04b923b8f67d50eec0f11fd2b (diff) |
tdf#125849 cannot modify the ruler unit of measure in translated UI
Change-Id: Ica74dd5e55d30605ee03affa4b724ffa4ec65b5a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129357
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/fieldvalues.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/fieldvalues.hxx b/include/vcl/fieldvalues.hxx index e8f78bd5e119..b00fc5a47128 100644 --- a/include/vcl/fieldvalues.hxx +++ b/include/vcl/fieldvalues.hxx @@ -29,7 +29,8 @@ class LocaleDataWrapper; namespace vcl { -VCL_DLLPUBLIC FieldUnit StringToMetric(const OUString& rMetricString); +VCL_DLLPUBLIC FieldUnit EnglishStringToMetric(const OUString& rEnglishMetricString); + VCL_DLLPUBLIC bool TextToValue(const OUString& rStr, double& rValue, sal_Int64 nBaseValue, sal_uInt16 nDecDigits, const LocaleDataWrapper& rLocaleDataWrapper, FieldUnit eUnit); |