summaryrefslogtreecommitdiff
path: root/shell/source/backends/localebe/localebackend.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 22:43:34 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 22:43:34 -0500
commitde0c09bb427e0206289365b83ddde02405db5ace (patch)
treec933c2ec3cb85830ed71b7ac325e509571150b4e /shell/source/backends/localebe/localebackend.cxx
parente6adc90c231588349ce7d8c1abc5fcb446f61706 (diff)
targeted string re-work
Change-Id: I6eb2242506ef2d230770e513579caf4455ec37d5
Diffstat (limited to 'shell/source/backends/localebe/localebackend.cxx')
-rw-r--r--shell/source/backends/localebe/localebackend.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/source/backends/localebe/localebackend.cxx b/shell/source/backends/localebe/localebackend.cxx
index 1734305e8781..3885a8bea88d 100644
--- a/shell/source/backends/localebe/localebackend.cxx
+++ b/shell/source/backends/localebe/localebackend.cxx
@@ -183,7 +183,7 @@ static rtl::OUString ImplGetLocale(int category)
// Return "en-US" for C locales
if( (locale == NULL) || ( locale[0] == 'C' && locale[1] == '\0' ) )
- return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "en-US" ) );
+ return rtl::OUString( "en-US" );
const char *cp;
@@ -284,7 +284,7 @@ void LocaleBackend::setPropertyValue(
{
throw css::lang::IllegalArgumentException(
rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM("setPropertyValue not supported")),
+ "setPropertyValue not supported"),
static_cast< cppu::OWeakObject * >(this), -1);
}
@@ -319,7 +319,7 @@ css::uno::Any LocaleBackend::getPropertyValue(
//------------------------------------------------------------------------------
rtl::OUString SAL_CALL LocaleBackend::getBackendName(void) {
- return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.configuration.backend.LocaleBackend")) ;
+ return rtl::OUString("com.sun.star.comp.configuration.backend.LocaleBackend") ;
}
//------------------------------------------------------------------------------
@@ -335,7 +335,7 @@ rtl::OUString SAL_CALL LocaleBackend::getImplementationName(void)
uno::Sequence<rtl::OUString> SAL_CALL LocaleBackend::getBackendServiceNames(void)
{
uno::Sequence<rtl::OUString> aServiceNameList(1);
- aServiceNameList[0] = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.configuration.backend.LocaleBackend")) ;
+ aServiceNameList[0] = rtl::OUString( "com.sun.star.configuration.backend.LocaleBackend") ;
return aServiceNameList ;
}