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.kaganski@collabora.com>
Tested-by: Jenkins
This commit is contained in:
Bogdan Buzea
2025-03-12 09:28:42 +01:00
committed by Mike Kaganski
parent 02a5df653f
commit 817cb41005
+2 -2
View File
@@ -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();
}