summaryrefslogtreecommitdiff
path: root/shell/source/backends
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 13:31:26 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 14:12:32 +0100
commit7f09f384b2712faef29c6874821084be34c413a7 (patch)
treecc7270e01602753af80cb3ab86b6c6e2dd7ae4a8 /shell/source/backends
parent70e56ffe13fb00ff044a43074e99eb70275883b3 (diff)
shell: Use appropriate OUString functions on string constants
Change-Id: I3b2c0a4200fa953162f40eff49289052962e73d2
Diffstat (limited to 'shell/source/backends')
-rw-r--r--shell/source/backends/localebe/localebackend.cxx4
-rw-r--r--shell/source/backends/macbe/macbackend.mm2
2 files changed, 3 insertions, 3 deletions
diff --git a/shell/source/backends/localebe/localebackend.cxx b/shell/source/backends/localebe/localebackend.cxx
index 99b9e99aa9b9..1a8da7bf2fcd 100644
--- a/shell/source/backends/localebe/localebackend.cxx
+++ b/shell/source/backends/localebe/localebackend.cxx
@@ -284,12 +284,12 @@ css::uno::Any LocaleBackend::getPropertyValue(
return css::uno::makeAny(
css::beans::Optional< css::uno::Any >(
true, css::uno::makeAny(getLocale())));
- } else if (PropertyName.equals("SystemLocale"))
+ } else if (PropertyName == "SystemLocale")
{
return css::uno::makeAny(
css::beans::Optional< css::uno::Any >(
true, css::uno::makeAny(getSystemLocale())));
- } else if (PropertyName.equals("UILocale"))
+ } else if (PropertyName == "UILocale")
{
return css::uno::makeAny(
css::beans::Optional< css::uno::Any >(
diff --git a/shell/source/backends/macbe/macbackend.mm b/shell/source/backends/macbe/macbackend.mm
index fb0af6a9bb9e..cd1466575d3e 100644
--- a/shell/source/backends/macbe/macbackend.mm
+++ b/shell/source/backends/macbe/macbackend.mm
@@ -452,7 +452,7 @@ rtl::OUString SAL_CALL MacOSXBackend::getImplementationName(void)
uno::Sequence<rtl::OUString> SAL_CALL MacOSXBackend::getBackendServiceNames(void)
{
uno::Sequence<rtl::OUString> aServiceNameList(1);
- aServiceNameList[0] = rtl::OUString( "com.sun.star.configuration.backend.MacOSXBackend");
+ aServiceNameList[0] = "com.sun.star.configuration.backend.MacOSXBackend";
return aServiceNameList;
}