summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-09-01 11:03:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-09-01 13:32:13 +0200
commitcff37ecf6b9ecd8b169224c327570aa7f63b791e (patch)
tree94699317e27154c07ae5505944cc65774af3390d
parentbc500f802dcadb9b3ae1bc4a17ec825a242884c0 (diff)
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 <caolanm@redhat.com>
-rw-r--r--svx/source/svdraw/svdedtv2.cxx2
1 files changed, 1 insertions, 1 deletions
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)