svx/source/svdraw/svdedtv2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit cff37ecf6b9ecd8b169224c327570aa7f63b791e Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Sep 1 11:03:23 2022 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Sep 1 13:32:13 2022 +0200 cid#1513474 silence Explicit null dereferenced Change-Id: Ifd33ce24ca4cc351a0a68c87b463baf556001c20 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139150 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/svx/source/svdraw/svdedtv2.cxx b/svx/source/svdraw/svdedtv2.cxx index 0626b0fbd867..4c608ddbc1c7 100644 --- a/svx/source/svdraw/svdedtv2.cxx +++ b/svx/source/svdraw/svdedtv2.cxx @@ -1824,7 +1824,7 @@ void SdrEditView::GroupMarked() { pGrp = new SdrObjGroup(pObj->getSdrModelFromSdrObject()); pDstLst=pGrp->GetSubList(); - DBG_ASSERT(pDstLst!=nullptr,"Alleged group object doesn't return object list."); + assert(pDstLst && "Alleged group object doesn't return object list."); } pSrcLst=pObj->getParentSdrObjListFromSdrObject(); if (pSrcLst!=pSrcLst0)