diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-24 20:55:36 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-24 20:56:18 +0000 |
commit | 53e89ab25c0cd7df1b900a2e1048cfa402ea4353 (patch) | |
tree | 59acdee5ef8f0dbadd0ae976ea68ab3e7a9455ff | |
parent | 215634269e9a2eabdabb1ff2a5effd11dded7a36 (diff) |
WaE: uninitialized nBulletColor
Change-Id: I48cc86ad20cbc868df0a943a9a73c8c86096a63a
-rw-r--r-- | oox/source/export/drawingml.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index 1fe13cd92497..2deda44d551d 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -1610,7 +1610,7 @@ void DrawingML::WriteParagraphNumbering( Reference< XPropertySet > rXPropSet, sa bool bHasFontDesc = false; OUString aGraphicURL; sal_Int16 nBulletRelSize = 0; - sal_Int32 nBulletColor; + sal_Int32 nBulletColor = 0; for ( sal_Int32 i = 0; i < nPropertyCount; i++ ) { @@ -1693,7 +1693,7 @@ void DrawingML::WriteParagraphNumbering( Reference< XPropertySet > rXPropSet, sa } else { - if(nBulletColor) + if (nBulletColor) { mpFS->startElementNS( XML_a, XML_buClr, FSEND ); WriteColor( nBulletColor ); |