summaryrefslogtreecommitdiff
path: root/tools/source
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source')
-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();