diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-27 11:59:36 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-27 15:32:55 +0200 |
commit | 91fac2a32c1c6b784bd33cf664ea64a734b1c776 (patch) | |
tree | 5840c6d24c3a58d35c200e649627ebf22b085c13 /tools/source | |
parent | 8f7e364a5b6179fdc3b716a3b250e71341536220 (diff) |
cid#705051 Dereference after null check
Change-Id: I6b7adb593efa137bb09b3b8d49539f6cd405dd20
Diffstat (limited to 'tools/source')
-rw-r--r-- | tools/source/generic/poly.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx index a588719e4a59..56b224bf5ef2 100644 --- a/tools/source/generic/poly.cxx +++ b/tools/source/generic/poly.cxx @@ -606,7 +606,7 @@ void Polygon::SetFlags( sal_uInt16 nPos, PolyFlags eFlags ) // we do only want to create the flag array if there // is at least one flag different to POLY_NORMAL - if ( mpImplPolygon || ( eFlags != POLY_NORMAL ) ) + if ( eFlags != POLY_NORMAL ) { ImplMakeUnique(); mpImplPolygon->ImplCreateFlagArray(); |