valgrind: Conditional jump or move depends on uninitialised value

Change-Id: I1939d376afe5dd5c67f378ffb2520a066dc99077
This commit is contained in:
Caolán McNamara 2014-04-02 09:13:37 +01:00
parent e326b5e06d
commit 6efbc4598a

View File

@ -1598,7 +1598,7 @@ SvStream& WritePolygon( SvStream& rOStream, const Polygon& rPoly )
void Polygon::ImplRead( SvStream& rIStream )
{
sal_uInt8 bHasPolyFlags;
sal_uInt8 bHasPolyFlags(0);
ReadPolygon( rIStream, *this );
rIStream.ReadUChar( bHasPolyFlags );