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

coverity#1202908 Uninitialized scalar variable

Change-Id: If9801de8469126f0e1c255f9526d1bcf76e7f372
üst eb1c0480
...@@ -285,6 +285,7 @@ void SvxNumValueSet::UserDraw( const UserDrawEvent& rUDEvt ) ...@@ -285,6 +285,7 @@ void SvxNumValueSet::UserDraw( const UserDrawEvent& rUDEvt )
aLevelAny >>= aLevel; aLevelAny >>= aLevel;
const PropertyValue* pValues = aLevel.getConstArray(); const PropertyValue* pValues = aLevel.getConstArray();
aNumberingTypes[i] = 0; aNumberingTypes[i] = 0;
aParentNumberings[i] = 0;
for(sal_Int32 nProperty = 0; nProperty < aLevel.getLength() - 1; nProperty++) for(sal_Int32 nProperty = 0; nProperty < aLevel.getLength() - 1; nProperty++)
{ {
if ( pValues[nProperty].Name == cNumberingType ) if ( pValues[nProperty].Name == cNumberingType )
......
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