diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-22 17:20:34 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-22 17:20:34 +0100 |
commit | d2cac56c6619b2b831d2f458b12b9771b78c83d2 (patch) | |
tree | 490f83ca8424ee7ec31f4721c307edc4501e1476 /i18npool/source/ordinalsuffix | |
parent | RTL_CONSTASCII_USTRINGPARAM in libs-gui 02 (diff) | |
download | core-d2cac56c6619b2b831d2f458b12b9771b78c83d2.tar.gz core-d2cac56c6619b2b831d2f458b12b9771b78c83d2.zip |
RTL_CONSTASCII_USTRINGPARAM in libs-gui 03
Diffstat (limited to 'i18npool/source/ordinalsuffix')
-rw-r--r-- | i18npool/source/ordinalsuffix/ordinalsuffix.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/i18npool/source/ordinalsuffix/ordinalsuffix.cxx b/i18npool/source/ordinalsuffix/ordinalsuffix.cxx index b5f30058da2e..f541553a9efa 100644 --- a/i18npool/source/ordinalsuffix/ordinalsuffix.cxx +++ b/i18npool/source/ordinalsuffix/ordinalsuffix.cxx @@ -59,22 +59,22 @@ static OUString getOrdinalSuffixEn( sal_Int32 nNumber ) switch( labs( nNumber ) % 100 ) { case 11: case 12: case 13: - retValue = OUString::createFromAscii( "th" ); + retValue = OUString(RTL_CONSTASCII_USTRINGPARAM("th")); break; default: switch( nNumber % 10 ) { case 1: - retValue = OUString::createFromAscii( "st" ); + retValue = OUString(RTL_CONSTASCII_USTRINGPARAM("st")); break; case 2: - retValue = OUString::createFromAscii( "nd" ); + retValue = OUString(RTL_CONSTASCII_USTRINGPARAM("nd")); break; case 3: - retValue = OUString::createFromAscii( "rd" ); + retValue = OUString(RTL_CONSTASCII_USTRINGPARAM("rd")); break; default: - retValue = OUString::createFromAscii( "th" ); + retValue = OUString(RTL_CONSTASCII_USTRINGPARAM("th")); break; } break; |