Kaydet (Commit) f03ce265 authored tarafından Caolán McNamara's avatar Caolán McNamara

drop translation of % now that we use icu to format it

Change-Id: Ia53815018cc5438ffbc2fecf2ec65ce69f1b90c5
üst 486e318b
...@@ -1440,6 +1440,7 @@ OUString MetricFormatter::CreateFieldText( sal_Int64 nValue ) const ...@@ -1440,6 +1440,7 @@ OUString MetricFormatter::CreateFieldText( sal_Int64 nValue ) const
{ {
if (meUnit != FUNIT_NONE && meUnit != FUNIT_DEGREE) if (meUnit != FUNIT_NONE && meUnit != FUNIT_DEGREE)
aStr += " "; aStr += " ";
assert(meUnit != FUNIT_PERCENT);
aStr += ImplMetricToString( meUnit ); aStr += ImplMetricToString( meUnit );
} }
return aStr; return aStr;
......
...@@ -42,7 +42,6 @@ StringArray SV_FUNIT_STRINGS ...@@ -42,7 +42,6 @@ StringArray SV_FUNIT_STRINGS
< "mile" ; FUNIT_MILE ; > ; < "mile" ; FUNIT_MILE ; > ;
< "ch" ; FUNIT_CHAR ; > ; < "ch" ; FUNIT_CHAR ; > ;
< "line" ; FUNIT_LINE ; > ; < "line" ; FUNIT_LINE ; > ;
< "%" ; FUNIT_PERCENT ; > ;
< "pixels" ; FUNIT_PIXEL ; > ; < "pixels" ; FUNIT_PIXEL ; > ;
< "pixel" ; FUNIT_PIXEL ; > ; < "pixel" ; FUNIT_PIXEL ; > ;
< "°" ; FUNIT_DEGREE ; > ; < "°" ; FUNIT_DEGREE ; > ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment