Kaydet (Commit) 4f4d8c8e authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1202823 Dereference null return value

Change-Id: I72d795203aedf34d32012ecee3c8fdfbc2a8a08f
üst c152349f
......@@ -1031,7 +1031,7 @@ void DrawingML::WriteShapeTransformation( Reference< XShape > rXShape, sal_Int32
if (!bSuppressRotation)
{
SdrObject* pShape = (SdrObject*) GetSdrObjectFromXShape( rXShape );
nRotation=pShape->GetRotateAngle();
nRotation = pShape ? pShape->GetRotateAngle() : 0;
if (nRotation != 0 && nRotation != 18000)
{
int faccos=bFlipV ? -1 : 1;
......
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