summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-05-26 12:17:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-05-26 15:37:01 +0200
commitc80c5ae7089e0e288c2f4ef9a9af5079f020c54f (patch)
tree78f32766a502f10e418919540c5c79f67c3af568
parentc0fa456436947a5c167c652d19a884064b43c03d (diff)
cid#1504575 Dereference before null check
since... commit 8b4b852a35149b1cfffc681cbb4f57d4c0b671b3 Date: Mon May 23 15:48:41 2022 +0200 Advanced Diagram support: Isolated IDiagramHelper, selection visualization we've already defered pGrp can just drop that check Change-Id: I2b36a5fdc7e49ba1a8d4be5df910be0392bb7960 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135019 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 47e20d82be6a..50a7940ca752 100644
--- a/svx/source/svdraw/svdedtv2.cxx
+++ b/svx/source/svdraw/svdedtv2.cxx
@@ -1911,7 +1911,7 @@ void SdrEditView::UnGroupMarked()
size_t nDstCnt=pGrp->GetOrdNum();
SdrObjList* pDstLst=pM->GetPageView()->GetObjList();
size_t nObjCount=pSrcLst->GetObjCount();
- const bool bIsDiagram(nullptr != pGrp && pGrp->isDiagram());
+ const bool bIsDiagram(pGrp->isDiagram());
// If the Group is a Diagram, it has a filler BG object to guarantee
// the Diagam's dimensions. Identify that shape