summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-22 13:06:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-22 13:06:52 +0000
commitf03ce265db73388f3e0de97e4b0c8129cfc85d1f (patch)
tree46de6720e183632365762017ad527d0b5313c763 /vcl
parent486e318b86943844011ef881556dabb4a3f7ef33 (diff)
drop translation of % now that we use icu to format it
Change-Id: Ia53815018cc5438ffbc2fecf2ec65ce69f1b90c5
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/field.cxx1
-rw-r--r--vcl/source/src/units.src1
2 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index b765deda9ec9..96bfbdb25c74 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -1440,6 +1440,7 @@ OUString MetricFormatter::CreateFieldText( sal_Int64 nValue ) const
{
if (meUnit != FUNIT_NONE && meUnit != FUNIT_DEGREE)
aStr += " ";
+ assert(meUnit != FUNIT_PERCENT);
aStr += ImplMetricToString( meUnit );
}
return aStr;
diff --git a/vcl/source/src/units.src b/vcl/source/src/units.src
index 2e405858f8fc..5de62091d2c4 100644
--- a/vcl/source/src/units.src
+++ b/vcl/source/src/units.src
@@ -42,7 +42,6 @@ StringArray SV_FUNIT_STRINGS
< "mile" ; FUNIT_MILE ; > ;
< "ch" ; FUNIT_CHAR ; > ;
< "line" ; FUNIT_LINE ; > ;
- < "%" ; FUNIT_PERCENT ; > ;
< "pixels" ; FUNIT_PIXEL ; > ;
< "pixel" ; FUNIT_PIXEL ; > ;
< "°" ; FUNIT_DEGREE ; > ;