coverity#984086 Uninitialized scalar field
Change-Id: Iba162efd0b582541199f343b64ac3b8c59dcc3d8
This commit is contained in:
parent
8eec77cbbc
commit
77f79f29f0
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user