summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/shapes.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx
index 7db7c5858673..158de6bdfe22 100644
--- a/oox/source/export/shapes.cxx
+++ b/oox/source/export/shapes.cxx
@@ -512,7 +512,7 @@ ShapeExport& ShapeExport::WriteCustomShape( Reference< XShape > xShape )
{
WritePolyPolygon( tools::PolyPolygon( pShape->GetLineGeometry(true) ) );
}
- else if (bCustGeom && pShape)
+ else if (bCustGeom)
{
WriteCustomGeometry( xShape );
}