summaryrefslogtreecommitdiff
path: root/vcl/source/control/field.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/field.cxx')
-rw-r--r--vcl/source/control/field.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index 174918035b25..53f0ac9a8eb2 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -1533,7 +1533,7 @@ void MetricFormatter::Reformat()
}
else
SetValue( mnLastValue );
- maCurUnitText = OUString();
+ maCurUnitText.clear();
}
sal_Int64 MetricFormatter::GetCorrectedValue( FieldUnit eOutUnit ) const