summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
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 3c86a7a45572..4e71b3543cd1 100644
--- a/tools/source/generic/poly.cxx
+++ b/tools/source/generic/poly.cxx
@@ -88,7 +88,7 @@ ImplPolygon::ImplPolygon( sal_uInt16 nInitSize, sal_Bool bFlags )
if( bFlags )
{
mpFlagAry = new sal_uInt8[ nInitSize ];
- memset( mpPointAry, 0, nInitSize );
+ memset( mpFlagAry, 0, nInitSize );
}
else
mpFlagAry = NULL;