summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-02-23 10:25:04 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-02-23 12:16:58 +0100
commitee351bc9d83798c4bed6ef891e602981ae88ae24 (patch)
tree2d357d1142f81134714ae7cd7eceb74a2fa15ce5 /filter
parentefa6c3db7289266c46dd4c30b5bedc7ba22a203b (diff)
cid#1500622 Dereference before null check
Change-Id: Id19f46ff51759c8346915852bfcb2cec66962c5b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130420 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/svgwriter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index 9209599976b9..8e5f897ec5c8 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwriter.cxx
@@ -3526,7 +3526,7 @@ void SVGActionWriter::ImplWriteActions( const GDIMetaFile& rMtf,
}
}
- if(mapCurShape && mapCurShape->maShapePolyPoly.Count() && (aStartArrow.Count() || aEndArrow.Count()))
+ if (mapCurShape->maShapePolyPoly.Count() && (aStartArrow.Count() || aEndArrow.Count()))
{
ImplWriteShape( *mapCurShape );