summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-31 09:47:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-03-31 09:47:30 +0100
commit14dd082b247ec1eecb4c26bcde06f370201e9f30 (patch)
treefea65f8baf63506a03f35a81c29df1a18dca07b8
parente8506c99ca303774c677e2978357839e1aeb11eb (diff)
coverity#1194907 Explicit null dereferenced
Change-Id: I985c91f5b29d3642ca03355c9c6218ae94735549
-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 c82e4e633eca..29bc43485367 100644
--- a/svx/source/svdraw/svdedtv2.cxx
+++ b/svx/source/svdraw/svdedtv2.cxx
@@ -1266,7 +1266,7 @@ void SdrEditView::CombineMarkedObjects(bool bNoPolyPoly)
const sal_uInt32 nPolyCount(aPolyPolygon.count());
- if(nPolyCount)
+ if (nPolyCount && pAttrObj)
{
SdrObjKind eKind = OBJ_PATHFILL;