summaryrefslogtreecommitdiff
path: root/i18npool/source/characterclassification/characterclassificationImpl.cxx
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-22 17:20:34 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-22 17:20:34 +0100
commitd2cac56c6619b2b831d2f458b12b9771b78c83d2 (patch)
tree490f83ca8424ee7ec31f4721c307edc4501e1476 /i18npool/source/characterclassification/characterclassificationImpl.cxx
parenta23d54eed27736eda876e975c510d7b3c230c5b8 (diff)
RTL_CONSTASCII_USTRINGPARAM in libs-gui 03
Diffstat (limited to 'i18npool/source/characterclassification/characterclassificationImpl.cxx')
-rw-r--r--i18npool/source/characterclassification/characterclassificationImpl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/i18npool/source/characterclassification/characterclassificationImpl.cxx b/i18npool/source/characterclassification/characterclassificationImpl.cxx
index 0539bd7e46ab..36bedb4d8846 100644
--- a/i18npool/source/characterclassification/characterclassificationImpl.cxx
+++ b/i18npool/source/characterclassification/characterclassificationImpl.cxx
@@ -41,7 +41,7 @@ namespace com { namespace sun { namespace star { namespace i18n {
CharacterClassificationImpl::CharacterClassificationImpl(
const Reference < lang::XMultiServiceFactory >& rxMSF ) : xMSF( rxMSF )
{
- if (createLocaleSpecificCharacterClassification(OUString::createFromAscii("Unicode"), Locale()))
+ if (createLocaleSpecificCharacterClassification(OUString(RTL_CONSTASCII_USTRINGPARAM("Unicode")), Locale()))
xUCI = cachedItem->xCI;
}
@@ -150,7 +150,7 @@ sal_Bool SAL_CALL CharacterClassificationImpl::createLocaleSpecificCharacterClas
}
Reference < XInterface > xI = xMSF->createInstance(
- OUString::createFromAscii("com.sun.star.i18n.CharacterClassification_") + serviceName);
+ OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.i18n.CharacterClassification_")) + serviceName);
Reference < XCharacterClassification > xCI;
if ( xI.is() ) {
@@ -178,7 +178,7 @@ CharacterClassificationImpl::getLocaleSpecificCharacterClassification(const Loca
}
static sal_Unicode under = (sal_Unicode)'_';
- static OUString tw(OUString::createFromAscii("TW"));
+ static OUString tw(RTL_CONSTASCII_USTRINGPARAM("TW"));
sal_Int32 l = rLocale.Language.getLength();
sal_Int32 c = rLocale.Country.getLength();
sal_Int32 v = rLocale.Variant.getLength();
@@ -203,7 +203,7 @@ CharacterClassificationImpl::getLocaleSpecificCharacterClassification(const Loca
createLocaleSpecificCharacterClassification(rLocale.Language, rLocale))) {
return cachedItem->xCI;
} else if (xUCI.is()) {
- lookupTable.push_back( cachedItem = new lookupTableItem(rLocale, OUString::createFromAscii("Unicode"), xUCI) );
+ lookupTable.push_back( cachedItem = new lookupTableItem(rLocale, OUString(RTL_CONSTASCII_USTRINGPARAM("Unicode")), xUCI) );
return cachedItem->xCI;
}
}