vcl/source/app/svapp.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
New commits: commit 0c7e8ef07fe9ba7ebc95fdeb5f58275decb4f0fc Author: Jan-Marek Glogowski <glo...@fbihome.de> AuthorDate: Tue Jan 26 22:18:16 2021 +0100 Commit: Jan-Marek Glogowski <glo...@fbihome.de> CommitDate: Wed Jan 27 00:01:15 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 <glo...@fbihome.de> diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index 69687bd8a6f7..aa3dbb0a18b3 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -504,8 +504,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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits