summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-23 10:39:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-23 14:16:05 +0100
commit77f79f29f03541fef0b6ab0373371ecbf504d8f1 (patch)
treec4eec0761322956f901360528b9387f1a74ff105 /editeng
parent8eec77cbbc8c5093d95382c8da851a4adccfaa52 (diff)
coverity#984086 Uninitialized scalar field
Change-Id: Iba162efd0b582541199f343b64ac3b8c59dcc3d8
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/bulitem.cxx4
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();