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

coverity#704642 Dereference after null check

Change-Id: Iae9b7caf2076722a01e6882921622b193f2b4349
üst 619b751f
...@@ -2537,6 +2537,9 @@ bool SdrPowerPointImport::GetColorFromPalette( sal_uInt16 nNum, Color& rColor ) ...@@ -2537,6 +2537,9 @@ bool SdrPowerPointImport::GetColorFromPalette( sal_uInt16 nNum, Color& rColor )
else else
pMasterPersist = (*pPageList2)[ nNextMaster ]; pMasterPersist = (*pPageList2)[ nNextMaster ];
} }
}
if ( pMasterPersist )
{
((SdrPowerPointImport*)this)->aPageColors = pMasterPersist->aColorScheme; ((SdrPowerPointImport*)this)->aPageColors = pMasterPersist->aColorScheme;
} }
} }
......
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