summaryrefslogtreecommitdiff
path: root/tools/source/generic/poly.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-02 09:33:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-02 09:53:26 +0100
commit67c6ea0c426c2796fc1b80cbe2cb0347686db90d (patch)
tree309ce1090d8150432618e3386f2bae23e3ee3895 /tools/source/generic/poly.cxx
parent6d20b453b6e667dee18bc456249279805aa08755 (diff)
init a few more stream-read svm elements
Change-Id: I3dfa2485afbe66131b86764374d53181b55c2346
Diffstat (limited to 'tools/source/generic/poly.cxx')
-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 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 );