From 1777dfacf2c94873f0f0119bbe9d8fc2464df154 Mon Sep 17 00:00:00 2001
From: Caolán McNamara <caolanm@redhat.com>
Date: Sat, 19 Nov 2011 20:29:23 +0000
Subject: clocaledata is a char array, so can use RTL_CONSTASCII_foo

---
 i18npool/source/localedata/localedata.cxx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'i18npool')

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;
 }
 
-- 
cgit