[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - vcl/source
Jan-Marek Glogowski (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jan 27 10:29:04 UTC 2021
vcl/source/app/svapp.cxx | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
New commits:
commit 9e9abb0263851e691dfe5b245e1dc6df790cb467
Author: Jan-Marek Glogowski <glogow at fbihome.de>
AuthorDate: Tue Jan 26 22:18:16 2021 +0100
Commit: Michael Stahl <michael.stahl at allotropia.de>
CommitDate: Wed Jan 27 11:28:31 2021 +0100
Fix crash in ProcessEventsToIdle debug code
... and that code formatting is from clang-format.
Change-Id: Ia73780f5f756a8c3493d27263347190289e4c953
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109999
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow at fbihome.de>
(cherry picked from commit 0c7e8ef07fe9ba7ebc95fdeb5f58275decb4f0fc)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109976
Reviewed-by: Michael Stahl <michael.stahl at allotropia.de>
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index f91375e77edd..676fa26e1038 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -487,8 +487,10 @@ void Scheduler::ProcessEventsToIdle()
Idle *pIdle = dynamic_cast<Idle*>(pSchedulerData->mpTask);
if (pIdle && pIdle->IsActive())
{
- SAL_WARN("vcl.schedule", "Unprocessed Idle: "
- << pIdle << " " << pIdle->GetDebugName());
+ SAL_WARN("vcl.schedule",
+ "Unprocessed Idle: "
+ << pIdle << " "
+ << (pIdle->GetDebugName() ? pIdle->GetDebugName() : "(nullptr)"));
}
}
pSchedulerData = pSchedulerData->mpNext;
More information about the Libreoffice-commits
mailing list