loplugin:stringadd

Change-Id: I8437b896feb54b3162fd846861d6de0879ed2690
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150233
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann 2023-04-11 16:09:27 +02:00
parent 658c2c98c9
commit 5b6ed0abb8

View file

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