summaryrefslogtreecommitdiff
path: root/i18npool/source/textconversion
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/textconversion
parenta23d54eed27736eda876e975c510d7b3c230c5b8 (diff)
RTL_CONSTASCII_USTRINGPARAM in libs-gui 03
Diffstat (limited to 'i18npool/source/textconversion')
-rw-r--r--i18npool/source/textconversion/textconversionImpl.cxx12
-rw-r--r--i18npool/source/textconversion/textconversion_ko.cxx8
-rw-r--r--i18npool/source/textconversion/textconversion_zh.cxx2
3 files changed, 11 insertions, 11 deletions
diff --git a/i18npool/source/textconversion/textconversionImpl.cxx b/i18npool/source/textconversion/textconversionImpl.cxx
index 9bc191ac71b5..8e21e384a880 100644
--- a/i18npool/source/textconversion/textconversionImpl.cxx
+++ b/i18npool/source/textconversion/textconversionImpl.cxx
@@ -99,17 +99,17 @@ TextConversionImpl::getLocaleSpecificTextConversion(const Locale& rLocale) throw
Reference < XInterface > xI;
xI = xMSF->createInstance(
- OUString::createFromAscii("com.sun.star.i18n.TextConversion_") + aLocale.Language);
+ OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.i18n.TextConversion_")) + aLocale.Language);
if ( ! xI.is() )
xI = xMSF->createInstance(
- OUString::createFromAscii("com.sun.star.i18n.TextConversion_") + aLocale.Language +
- OUString::createFromAscii("_") + aLocale.Country);
+ OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.i18n.TextConversion_")) + aLocale.Language +
+ OUString(RTL_CONSTASCII_USTRINGPARAM("_")) + aLocale.Country);
if ( ! xI.is() )
xI = xMSF->createInstance(
- OUString::createFromAscii("com.sun.star.i18n.TextConversion_") + aLocale.Language +
- OUString::createFromAscii("_") + aLocale.Country +
- OUString::createFromAscii("_") + aLocale.Variant);
+ OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.i18n.TextConversion_")) + aLocale.Language +
+ OUString(RTL_CONSTASCII_USTRINGPARAM("_")) + aLocale.Country +
+ OUString(RTL_CONSTASCII_USTRINGPARAM("_")) + aLocale.Variant);
if (xI.is())
xI->queryInterface( getCppuType((const Reference< XTextConversion>*)0) ) >>= xTC;
diff --git a/i18npool/source/textconversion/textconversion_ko.cxx b/i18npool/source/textconversion/textconversion_ko.cxx
index 9d5570efd6a2..40c89c2fd5b1 100644
--- a/i18npool/source/textconversion/textconversion_ko.cxx
+++ b/i18npool/source/textconversion/textconversion_ko.cxx
@@ -55,13 +55,13 @@ TextConversion_ko::TextConversion_ko( const Reference < XMultiServiceFactory >&
Reference < XInterface > xI;
xI = xMSF->createInstance(
- OUString::createFromAscii("com.sun.star.i18n.ConversionDictionary_ko"));
+ OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.i18n.ConversionDictionary_ko")));
if ( xI.is() )
xI->queryInterface( getCppuType((const Reference< XConversionDictionary>*)0) ) >>= xCD;
xI = xMSF->createInstance(
- OUString::createFromAscii( "com.sun.star.linguistic2.ConversionDictionaryList" ));
+ OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.linguistic2.ConversionDictionaryList")));
if ( xI.is() )
xI->queryInterface( getCppuType((const Reference< XConversionDictionaryList>*)0) ) >>= xCDL;
@@ -70,8 +70,8 @@ TextConversion_ko::TextConversion_ko( const Reference < XMultiServiceFactory >&
// get maximum length of word in dictionary
if (xCDL.is()) {
- Locale loc(OUString::createFromAscii("ko"),
- OUString::createFromAscii("KR"),
+ Locale loc(OUString(RTL_CONSTASCII_USTRINGPARAM("ko")),
+ OUString(RTL_CONSTASCII_USTRINGPARAM("KR")),
OUString());
maxLeftLength = xCDL->queryMaxCharCount(loc,
ConversionDictionaryType::HANGUL_HANJA,
diff --git a/i18npool/source/textconversion/textconversion_zh.cxx b/i18npool/source/textconversion/textconversion_zh.cxx
index 71fee17ff342..177fbd160ba8 100644
--- a/i18npool/source/textconversion/textconversion_zh.cxx
+++ b/i18npool/source/textconversion/textconversion_zh.cxx
@@ -49,7 +49,7 @@ TextConversion_zh::TextConversion_zh( const Reference < XMultiServiceFactory >&
{
Reference < XInterface > xI;
xI = xMSF->createInstance(
- OUString::createFromAscii( "com.sun.star.linguistic2.ConversionDictionaryList" ));
+ OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.linguistic2.ConversionDictionaryList")));
if ( xI.is() )
xI->queryInterface( getCppuType((const Reference< XConversionDictionaryList>*)0) ) >>= xCDL;