shell/source/backends/localebe/localebackend.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 5b6ed0abb8279a0b2858dad60435cb2494887014
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Tue Apr 11 16:09:27 2023 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Tue Apr 11 20:44:21 2023 +0200

    loplugin:stringadd
    
    Change-Id: I8437b896feb54b3162fd846861d6de0879ed2690
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150233
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

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)
         {

Reply via email to