From 67c6ea0c426c2796fc1b80cbe2cb0347686db90d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 2 Apr 2014 09:33:03 +0100 Subject: init a few more stream-read svm elements Change-Id: I3dfa2485afbe66131b86764374d53181b55c2346 --- tools/source/generic/poly.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx index c0546d2d2278..9cbd48f4a899 100644 --- a/tools/source/generic/poly.cxx +++ b/tools/source/generic/poly.cxx @@ -1520,7 +1520,7 @@ SvStream& ReadPolygon( SvStream& rIStream, Polygon& rPoly ) DBG_ASSERTWARNING( rIStream.GetVersion(), "Polygon::>> - Solar-Version not set on rIStream" ); sal_uInt16 i; - sal_uInt16 nPoints; + sal_uInt16 nPoints(0); // read all points and create array rIStream.ReadUInt16( nPoints ); -- cgit v1.2.3