summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-16 12:57:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-16 16:41:57 +0100
commit9a8e6c715ab17a60f3014e912cfda0d609ca29aa (patch)
tree58e809e00c8c845aefb91b20b24542dbfccbe06c /vcl
parent159acfe7b83d4b39021f27c0e607a2579b959297 (diff)
coverity#1202907 Uninitialized scalar variable
Change-Id: I7c33a9ecaec6a771fa2a22c0ddb38a0a9b1d2df7
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/filter/sgvmain.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/filter/sgvmain.cxx b/vcl/source/filter/sgvmain.cxx
index 308d61a2150f..cfbf3964d1bf 100644
--- a/vcl/source/filter/sgvmain.cxx
+++ b/vcl/source/filter/sgvmain.cxx
@@ -260,6 +260,7 @@ SvStream& ReadTextType(SvStream& rInp, TextType& rText)
}
SvStream& ReadBmapType(SvStream& rInp, BmapType& rBmap)
{
+ memset((char*)&rBmap.Last, 0, BmapSize);
rInp.Read((char*)&rBmap.Last,BmapSize);
#if defined OSL_BIGENDIAN
SWAPOBJK (rBmap);