coverity#1268301 Dereference null return value
Change-Id: I487009503866b6910049824efab987066dd72023
This commit is contained in:
@@ -446,7 +446,7 @@ ShapeExport& ShapeExport::WriteCustomShape( Reference< XShape > xShape )
|
||||
else if( bHasHandles )
|
||||
bCustGeom = true;
|
||||
|
||||
if( bCustGeom )
|
||||
if (bCustGeom && pShape)
|
||||
{
|
||||
basegfx::B2DPolyPolygon aB2DPolyPolygon = pShape->GetLineGeometry(true);
|
||||
tools::PolyPolygon aPolyPolygon;
|
||||
|
Reference in New Issue
Block a user