desktop/source/app/crashreport.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 8029a239cf294d06bb9f29aeb9b6897cb422a880 Author: Stephan Bergmann <[email protected]> AuthorDate: Tue Apr 11 08:06:51 2023 +0200 Commit: Stephan Bergmann <[email protected]> CommitDate: Tue Apr 11 09:38:01 2023 +0200 loplugin:stringadd Change-Id: I2dec226b3fb17f5ea361673139f2511ce7c3fe89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150214 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <[email protected]> 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();
