diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-25 14:30:51 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-10-01 10:08:41 +0200 |
commit | 183f260e7ed86c30d99313cdb3267c18abb65bd3 (patch) | |
tree | ce1ba7d8bf8f32a8bba8f41a2d600b146e0d288d /forms/source/component/Currency.cxx | |
parent | ec79a0ca3efe2ea5f5f213bc7751f0dcd6c9d712 (diff) |
convert FORMS modules from String to OUString
Change-Id: Iadb3638b03e1a9712553ea5e4c041493d4e1656a
Diffstat (limited to 'forms/source/component/Currency.cxx')
-rw-r--r-- | forms/source/component/Currency.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/component/Currency.cxx b/forms/source/component/Currency.cxx index 2db7139db17e..5345b348fbcb 100644 --- a/forms/source/component/Currency.cxx +++ b/forms/source/component/Currency.cxx @@ -104,19 +104,19 @@ void OCurrencyModel::implConstruct() switch ( aLocaleInfo.getCurrPositiveFormat() ) { case 0: // $1 - sCurrencySymbol = String(aLocaleInfo.getCurrSymbol()); + sCurrencySymbol = aLocaleInfo.getCurrSymbol(); bPrependCurrencySymbol = sal_True; break; case 1: // 1$ - sCurrencySymbol = String(aLocaleInfo.getCurrSymbol()); + sCurrencySymbol = aLocaleInfo.getCurrSymbol(); bPrependCurrencySymbol = sal_False; break; case 2: // $ 1 - sCurrencySymbol = OUString(String(aLocaleInfo.getCurrSymbol())) + OUString(" "); + sCurrencySymbol = aLocaleInfo.getCurrSymbol() + " "; bPrependCurrencySymbol = sal_True; break; case 3: // 1 $ - sCurrencySymbol = OUString(" ") + OUString(String(aLocaleInfo.getCurrSymbol())); + sCurrencySymbol = " " + aLocaleInfo.getCurrSymbol(); bPrependCurrencySymbol = sal_False; break; } |