diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 10:39:58 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 14:16:05 +0100 |
commit | 77f79f29f03541fef0b6ab0373371ecbf504d8f1 (patch) | |
tree | c4eec0761322956f901360528b9387f1a74ff105 /editeng | |
parent | 8eec77cbbc8c5093d95382c8da851a4adccfaa52 (diff) |
coverity#984086 Uninitialized scalar field
Change-Id: Iba162efd0b582541199f343b64ac3b8c59dcc3d8
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/items/bulitem.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editeng/source/items/bulitem.cxx b/editeng/source/items/bulitem.cxx index 4492db17c62e..2faf3087f983 100644 --- a/editeng/source/items/bulitem.cxx +++ b/editeng/source/items/bulitem.cxx @@ -114,6 +114,8 @@ SvxBulletItem::SvxBulletItem( SvStream& rStrm, sal_uInt16 _nWhich ) , pGraphicObject(NULL) , nStart(0) , nStyle(0) + , nScale(0) + , nJustify(0) { rStrm.ReadUInt16( nStyle ); @@ -149,7 +151,7 @@ SvxBulletItem::SvxBulletItem( SvStream& rStrm, sal_uInt16 _nWhich ) rStrm.ReadUInt16( nStart ); rStrm.ReadUChar( nJustify ); - char cTmpSymbol; + char cTmpSymbol(0); rStrm.ReadChar( cTmpSymbol ); //convert single byte to unicode cSymbol = OUString(&cTmpSymbol, 1, aFont.GetCharSet()).toChar(); |