summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-27 11:59:36 +0200
committerNoel Grandin <noel@peralex.com>2014-10-27 15:32:55 +0200
commit91fac2a32c1c6b784bd33cf664ea64a734b1c776 (patch)
tree5840c6d24c3a58d35c200e649627ebf22b085c13 /tools
parent8f7e364a5b6179fdc3b716a3b250e71341536220 (diff)
cid#705051 Dereference after null check
Change-Id: I6b7adb593efa137bb09b3b8d49539f6cd405dd20
Diffstat (limited to 'tools')
-rw-r--r--tools/source/generic/poly.cxx2
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();