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

coverity#704641 Dereference after null check

Change-Id: Ib30bcefedb2685038f22e33b4c7a97b0295b224c
üst 324f33cb
......@@ -2503,9 +2503,11 @@ bool SdrPowerPointImport::GetColorFromPalette( sal_uInt16 nNum, Color& rColor )
{
PptSlidePersistEntry* pE = (*pPageList)[ nAktPageNum ];
if ( pE )
{
nSlideFlags = pE->aSlideAtom.nFlags;
if ( ! ( nSlideFlags & 2 ) )
((SdrPowerPointImport*)this)->aPageColors = pE->aColorScheme;
if ( ! ( nSlideFlags & 2 ) )
((SdrPowerPointImport*)this)->aPageColors = pE->aColorScheme;
}
}
if ( nSlideFlags & 2 ) // follow master colorscheme?
{
......
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