Kaydet (Commit) 53e89ab2 authored tarafından Caolán McNamara's avatar Caolán McNamara

WaE: uninitialized nBulletColor

Change-Id: I48cc86ad20cbc868df0a943a9a73c8c86096a63a
üst 21563426
...@@ -1610,7 +1610,7 @@ void DrawingML::WriteParagraphNumbering( Reference< XPropertySet > rXPropSet, sa ...@@ -1610,7 +1610,7 @@ void DrawingML::WriteParagraphNumbering( Reference< XPropertySet > rXPropSet, sa
bool bHasFontDesc = false; bool bHasFontDesc = false;
OUString aGraphicURL; OUString aGraphicURL;
sal_Int16 nBulletRelSize = 0; sal_Int16 nBulletRelSize = 0;
sal_Int32 nBulletColor; sal_Int32 nBulletColor = 0;
for ( sal_Int32 i = 0; i < nPropertyCount; i++ ) for ( sal_Int32 i = 0; i < nPropertyCount; i++ )
{ {
...@@ -1693,7 +1693,7 @@ void DrawingML::WriteParagraphNumbering( Reference< XPropertySet > rXPropSet, sa ...@@ -1693,7 +1693,7 @@ void DrawingML::WriteParagraphNumbering( Reference< XPropertySet > rXPropSet, sa
} }
else else
{ {
if(nBulletColor) if (nBulletColor)
{ {
mpFS->startElementNS( XML_a, XML_buClr, FSEND ); mpFS->startElementNS( XML_a, XML_buClr, FSEND );
WriteColor( nBulletColor ); WriteColor( nBulletColor );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment