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

coverity#704792 Dereference after null check

Change-Id: Ie6f3174266dfa42a1eff81df45fc408656d4fbd9
üst 7096a32e
...@@ -2101,10 +2101,14 @@ bool SfxCustomPropertiesPage::FillItemSet( SfxItemSet& rSet ) ...@@ -2101,10 +2101,14 @@ bool SfxCustomPropertiesPage::FillItemSet( SfxItemSet& rSet )
} }
bModified = true; //!!! bModified = true; //!!!
if (pInfo)
{
if ( bModified ) if ( bModified )
rSet.Put( *pInfo ); rSet.Put( *pInfo );
if ( bMustDelete ) if ( bMustDelete )
delete pInfo; delete pInfo;
}
return bModified; return bModified;
} }
......
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