summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}