summaryrefslogtreecommitdiff
path: root/i18nutil
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-20 13:31:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-20 13:32:15 +0000
commit062e6f76ba26d2c0a54a476a1168202bae2322a7 (patch)
tree311aa670a8eb3d1d176c87732f9916377743fe5c /i18nutil
parent78a61583c266a1fd222cd78c912e35e93f7010d3 (diff)
Related: #i56998# use locale rules to format percentage
Change-Id: I2cdeefc5a5a1ee970ee3da5191ceae28b58340a1
Diffstat (limited to 'i18nutil')
-rw-r--r--i18nutil/source/utility/unicode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx
index 56daacdacd1a..0fb6b72366e0 100644
--- a/i18nutil/source/utility/unicode.cxx
+++ b/i18nutil/source/utility/unicode.cxx
@@ -955,7 +955,7 @@ OUString SAL_CALL unicode::formatPercent(double dNumber,
}
UnicodeString output;
- xF->format(dNumber, output);
+ xF->format(dNumber/100, output);
return OUString(reinterpret_cast<const sal_Unicode *>(output.getBuffer()),
output.length());
}