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:
committed by
Mike Kaganski
parent
02a5df653f
commit
817cb41005
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user