summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-04-11 08:06:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-04-11 09:38:01 +0200
commit8029a239cf294d06bb9f29aeb9b6897cb422a880 (patch)
treecc342f18b8d59aa4d4c1260d353698d7f2bee416 /desktop
parent1155def95bfe5b43f2b68e6c85632716df87bcf8 (diff)
loplugin:stringadd
Change-Id: I2dec226b3fb17f5ea361673139f2511ce7c3fe89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150214 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/crashreport.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/app/crashreport.cxx b/desktop/source/app/crashreport.cxx
index 0458edf9793a..e5ed070a2f44 100644
--- a/desktop/source/app/crashreport.cxx
+++ b/desktop/source/app/crashreport.cxx
@@ -198,8 +198,7 @@ OUString CrashReporter::getLoggedUnoCommands()
for( auto& unocommand: maloggedUnoCommands)
{
- aUnoCommandBuffer.append(aCommandSeperator);
- aUnoCommandBuffer.append(unocommand);
+ aUnoCommandBuffer.append(aCommandSeperator + unocommand);
aCommandSeperator=",";
}
return aUnoCommandBuffer.makeStringAndClear();