desktop/source/app/crashreport.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 817cb41005db87c9bdd63663e5d1d1357d6e5cbc Author: Bogdan Buzea <buzea.bog...@libreoffice.org> AuthorDate: Tue Nov 19 21:29:48 2024 +0100 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Wed Mar 12 09:28:42 2025 +0100 tdf#158068: Replace with static constexpr O(U)String Change-Id: Ie2f1e821451a692a79c40dd4d40dc89a9fa550c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176803 Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> Tested-by: Jenkins diff --git a/desktop/source/app/crashreport.cxx b/desktop/source/app/crashreport.cxx index 18db12d07b38..82e861a99090 100644 --- a/desktop/source/app/crashreport.cxx +++ b/desktop/source/app/crashreport.cxx @@ -188,13 +188,13 @@ OUString CrashReporter::getLoggedUnoCommands() { osl::MutexGuard aGuard(maUnoLogCmdMutex); - OUString aCommandSeperator=""; + std::u16string_view aCommandSeperator; OUStringBuffer aUnoCommandBuffer; for( auto& unocommand: maloggedUnoCommands) { aUnoCommandBuffer.append(aCommandSeperator + unocommand); - aCommandSeperator=","; + aCommandSeperator=u","_ustr; } return aUnoCommandBuffer.makeStringAndClear(); }