summaryrefslogtreecommitdiffstats
path: root/i18npool
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-19 20:29:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-19 21:11:03 +0000
commit1777dfacf2c94873f0f0119bbe9d8fc2464df154 (patch)
treed18322dec9d0a90796a4a6c2283b4481f58c74a3 /i18npool
parentByteString->rtl::OString[Buffer] (diff)
downloadcore-1777dfacf2c94873f0f0119bbe9d8fc2464df154.tar.gz
core-1777dfacf2c94873f0f0119bbe9d8fc2464df154.zip
clocaledata is a char array, so can use RTL_CONSTASCII_foo
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/localedata/localedata.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx
index 9b87de6c7976..66a5b9325f02 100644
--- a/i18npool/source/localedata/localedata.cxx
+++ b/i18npool/source/localedata/localedata.cxx
@@ -1535,21 +1535,21 @@ sal_Bool OutlineNumbering::hasElements( ) throw(RuntimeException)
OUString SAL_CALL
LocaleData::getImplementationName() throw( RuntimeException )
{
- return OUString::createFromAscii(clocaledata);
+ return OUString(RTL_CONSTASCII_USTRINGPARAM(clocaledata));
}
sal_Bool SAL_CALL
LocaleData::supportsService(const OUString& rServiceName)
throw( RuntimeException )
{
- return !rServiceName.compareToAscii(clocaledata);
+ return rServiceName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(clocaledata));
}
Sequence< OUString > SAL_CALL
LocaleData::getSupportedServiceNames() throw( RuntimeException )
{
Sequence< OUString > aRet(1);
- aRet[0] = OUString::createFromAscii(clocaledata);
+ aRet[0] = OUString(RTL_CONSTASCII_USTRINGPARAM(clocaledata));
return aRet;
}