diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2013-01-14 23:03:40 -0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-01-15 18:17:17 +0000 |
commit | e9aff4b508a1ccd1e5a40fadce3ca78db7b49b86 (patch) | |
tree | ff0fd644c5b97892ba741017b452da3c4a93e426 /shell/source/backends/localebe/localebackend.cxx | |
parent | 279b6f39cf4a13667dd8bcbe8766f900593633c9 (diff) |
fdo#57950: Remove some chained appends in shell
And remove some *STRINGPARAM macros.
Change-Id: Idebee475e4b383f5f390040515bdfa7c49a24c1d
Reviewed-on: https://gerrit.libreoffice.org/1682
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'shell/source/backends/localebe/localebackend.cxx')
-rw-r--r-- | shell/source/backends/localebe/localebackend.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/shell/source/backends/localebe/localebackend.cxx b/shell/source/backends/localebe/localebackend.cxx index 544cb42d4cf1..5e38f3a66162 100644 --- a/shell/source/backends/localebe/localebackend.cxx +++ b/shell/source/backends/localebe/localebackend.cxx @@ -289,14 +289,12 @@ css::uno::Any LocaleBackend::getPropertyValue( return css::uno::makeAny( css::beans::Optional< css::uno::Any >( true, css::uno::makeAny(getLocale()))); - } else if (PropertyName.equalsAsciiL( - RTL_CONSTASCII_STRINGPARAM("SystemLocale"))) + } else if (PropertyName.equals("SystemLocale")) { return css::uno::makeAny( css::beans::Optional< css::uno::Any >( true, css::uno::makeAny(getSystemLocale()))); - } else if (PropertyName.equalsAsciiL( - RTL_CONSTASCII_STRINGPARAM("UILocale"))) + } else if (PropertyName.equals("UILocale")) { return css::uno::makeAny( css::beans::Optional< css::uno::Any >( |