summaryrefslogtreecommitdiff
path: root/forms/source/component/Currency.cxx
diff options
context:
space:
mode:
authorpjacquod <pjacquod@alumni.ethz.ch>2010-11-15 23:38:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-11-17 16:21:57 +0000
commit36cff0860f99741ff0357f2457e7f585b700b242 (patch)
treefc5eb74b98af14d9d5dd77ad7be8ae0fbc379564 /forms/source/component/Currency.cxx
parentd3d6b5d08f61a41fca587e9b91b542a2ef129265 (diff)
RTL_CONSTASCII_USTRINGPARAM in components - forms
the whole directory components/forms/source/component should now be OK
Diffstat (limited to 'forms/source/component/Currency.cxx')
-rw-r--r--forms/source/component/Currency.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/Currency.cxx b/forms/source/component/Currency.cxx
index efcbaeae18e1..ed919f60b0d6 100644
--- a/forms/source/component/Currency.cxx
+++ b/forms/source/component/Currency.cxx
@@ -121,11 +121,11 @@ void OCurrencyModel::implConstruct()
bPrependCurrencySymbol = sal_False;
break;
case 2: // $ 1
- sCurrencySymbol = ::rtl::OUString(String(aLocaleInfo.getCurrSymbol())) + ::rtl::OUString::createFromAscii(" ");
+ sCurrencySymbol = ::rtl::OUString(String(aLocaleInfo.getCurrSymbol())) + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(" ") );
bPrependCurrencySymbol = sal_True;
break;
case 3: // 1 $
- sCurrencySymbol = ::rtl::OUString::createFromAscii(" ") + ::rtl::OUString(String(aLocaleInfo.getCurrSymbol()));
+ sCurrencySymbol = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(" ") ) + ::rtl::OUString(String(aLocaleInfo.getCurrSymbol()));
bPrependCurrencySymbol = sal_False;
break;
}