coverity#704640 Dereference after null check
Change-Id: I05b932002ff8176d76f842dcd57ea39c4112f181
This commit is contained in:
@@ -3402,7 +3402,7 @@ sal_Bool PPTNumberFormatCreator::ImplGetExtNumberFormat( SdrPowerPointImport& rM
|
||||
if ( nBuBlip != 0xffff ) // set graphical bullet
|
||||
{
|
||||
Graphic aGraphic;
|
||||
if ( pParaProv->GetGraphic( nBuBlip, aGraphic ) )
|
||||
if ( pParaProv && pParaProv->GetGraphic( nBuBlip, aGraphic ) )
|
||||
{
|
||||
SvxBrushItem aBrush( aGraphic, GPOS_MM, SID_ATTR_BRUSH );
|
||||
rNumberFormat.SetGraphicBrush( &aBrush );
|
||||
|
Reference in New Issue
Block a user