summaryrefslogtreecommitdiff
path: root/shell/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-04-11 16:09:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-04-11 20:44:21 +0200
commit5b6ed0abb8279a0b2858dad60435cb2494887014 (patch)
treee0a7c856bb43dad4c7b87c0d75dc927c6018c3ac /shell/source
parent658c2c98c98662eb06f22c1b743f10281e191c16 (diff)
loplugin:stringadd
Change-Id: I8437b896feb54b3162fd846861d6de0879ed2690 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150233 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'shell/source')
-rw-r--r--shell/source/backends/localebe/localebackend.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/source/backends/localebe/localebackend.cxx b/shell/source/backends/localebe/localebackend.cxx
index 558926d8febd..9f1d22fef93e 100644
--- a/shell/source/backends/localebe/localebackend.cxx
+++ b/shell/source/backends/localebe/localebackend.cxx
@@ -123,8 +123,7 @@ namespace /* private */
CFStringRef sref = ImplGetAppPreference(pref);
CFStringGuard srefGuard(sref);
- OUStringBuffer aLocaleBuffer;
- aLocaleBuffer.append("en-US"); // initialize with fallback value
+ OUStringBuffer aLocaleBuffer("en-US"); // initialize with fallback value
if (sref != nullptr)
{