summaryrefslogtreecommitdiff
path: root/vcl/source/control/field.cxx
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2020-05-07 17:53:40 -0400
committerHenry Castro <hcastro@collabora.com>2020-05-10 18:33:59 +0200
commit0784df709d5d8d39e2ba3778702466e57e1270d4 (patch)
treeda069695c0ee30bded7f65a777a6a5aa1c653b22 /vcl/source/control/field.cxx
parentde61e14d0b6ee90cb4d170af340275d811b9fbbf (diff)
lok: replace name Neutro to Neutral
This commit was split because it has to be in sync with cp-6.2 branch Change-Id: I849b63f34297a6876d5a3ab83bb6ce551bb156d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93687 Tested-by: Jenkins Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'vcl/source/control/field.cxx')
-rw-r--r--vcl/source/control/field.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index c10e6a409855..f443abdd2ad7 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -631,7 +631,7 @@ void NumericFormatter::SetValueFromString(const OUString& rStr)
sal_Int64 nValue;
if (ImplNumericGetValue(rStr, nValue, GetDecimalDigits(),
- Application::GetSettings().GetNeutroLocaleDataWrapper()))
+ Application::GetSettings().GetNeutralLocaleDataWrapper()))
{
SetValue(nValue);
}
@@ -1712,7 +1712,7 @@ boost::property_tree::ptree MetricField::DumpAsPropertyTree()
aTree.put("min", GetMin());
aTree.put("max", GetMax());
aTree.put("unit", FieldUnitToString(GetUnit()));
- OUString sValue = Application::GetSettings().GetNeutroLocaleDataWrapper().
+ OUString sValue = Application::GetSettings().GetNeutralLocaleDataWrapper().
getNum(GetValue(), GetDecimalDigits(), false, false);
aTree.put("value", sValue.toUtf8().getStr());