coverity#704639 Dereference after null check
Change-Id: Ic176da3b05337678dd12fd23a726b958577cbefb
This commit is contained in:
@@ -6116,7 +6116,7 @@ sal_Bool SvxMSDffManager::GetShape(sal_uLong nId, SdrObject*& rpShape,
|
|||||||
|
|
||||||
// restore old alte FilePos of the stream(s)
|
// restore old alte FilePos of the stream(s)
|
||||||
rStCtrl.Seek( nOldPosCtrl );
|
rStCtrl.Seek( nOldPosCtrl );
|
||||||
if( &rStCtrl != pStData )
|
if( &rStCtrl != pStData && pStData )
|
||||||
pStData->Seek( nOldPosData );
|
pStData->Seek( nOldPosData );
|
||||||
return ( 0 != rpShape );
|
return ( 0 != rpShape );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user