diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-19 20:29:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-19 21:11:03 +0000 |
commit | 1777dfacf2c94873f0f0119bbe9d8fc2464df154 (patch) | |
tree | d18322dec9d0a90796a4a6c2283b4481f58c74a3 /i18npool | |
parent | 445065d1131deda6cc56b2dddf0bbb07253e55f7 (diff) |
clocaledata is a char array, so can use RTL_CONSTASCII_foo
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/localedata/localedata.cxx | 6 |
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; } |