diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-20 13:55:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-20 14:46:21 +0000 |
commit | d33b4c311e3b9c0b8f50080cb38a31c19f587a16 (patch) | |
tree | bbb66c18dfe5dcdffbfa7d358d6a111bf8e5f518 /sd/source | |
parent | c6c70c93461d5da4464ef38c8420b53ee609a4d1 (diff) |
Related: #i56998# use locale rules to format percentage
Change-Id: I4b744cf10165383153d2a71c05df0c0ed327c641
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/animations/CustomAnimationDialog.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx index 7c3677d9438b..86a7304ae568 100644 --- a/sd/source/ui/animations/CustomAnimationDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationDialog.cxx @@ -35,6 +35,7 @@ #include <boost/shared_ptr.hpp> #include <comphelper/processfactory.hxx> +#include <i18nutil/unicode.hxx> #include <unotools/pathoptions.hxx> #include <vcl/tabctrl.hxx> #include <vcl/tabpage.hxx> @@ -566,7 +567,8 @@ TransparencyPropertyBox::TransparencyPropertyBox( sal_Int32 nControlType, Window mpMenu = new PopupMenu(); for( sal_Int32 i = 25; i < 101; i += 25 ) { - OUString aStr(OUString::number(i) + "%"); + OUString aStr(unicode::formatPercent(i, + Application::GetSettings().GetUILanguageTag())); mpMenu->InsertItem( i, aStr ); } |