desktop/source/app/crashreport.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 8192e71eca228bb181ced36074f8144f604f969a
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Sun Mar 16 22:26:17 2025 +0100
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Mon Mar 17 07:52:15 2025 +0100

    Simplify OUString -> std::u16string_view
    
    ...following up on 26d0af9ddc98355865c62ce0ffc04c3919ebce87 "Revert 
'tdf#158068:
    Replace with static constexpr O(U)String'"
    
    Change-Id: I75464cc7ad310f48d0a79662a5e952d0debeda91
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183010
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <[email protected]>

diff --git a/desktop/source/app/crashreport.cxx 
b/desktop/source/app/crashreport.cxx
index 18db12d07b38..49c551b62f4d 100644
--- a/desktop/source/app/crashreport.cxx
+++ b/desktop/source/app/crashreport.cxx
@@ -21,6 +21,7 @@
 #include <config_folders.h>
 
 #include <string>
+#include <string_view>
 #include <regex>
 
 
@@ -188,13 +189,13 @@ OUString CrashReporter::getLoggedUnoCommands()
 {
     osl::MutexGuard aGuard(maUnoLogCmdMutex);
 
-    OUString aCommandSeperator="";
+    std::u16string_view aCommandSeperator=u"";
     OUStringBuffer aUnoCommandBuffer;
 
     for( auto& unocommand: maloggedUnoCommands)
     {
         aUnoCommandBuffer.append(aCommandSeperator + unocommand);
-        aCommandSeperator=",";
+        aCommandSeperator=u",";
     }
     return aUnoCommandBuffer.makeStringAndClear();
 }

Reply via email to