summaryrefslogtreecommitdiff
path: root/oox/source/export/shapes.cxx
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2015-06-13 11:46:47 +0200
committerAndras Timar <andras.timar@collabora.com>2015-06-13 11:55:23 +0200
commit2181f936c88811d5b6eb6081355a99a727261a8f (patch)
treedabc4bb9907a9a74afb164c140515d113224fbab /oox/source/export/shapes.cxx
parent98a1065499edfe595f479e4fab41c0183fc5d5d2 (diff)
no need to check for pShape here
Change-Id: I6de2da7d2f17a14ddbe7e70651a416a01f49164b
Diffstat (limited to 'oox/source/export/shapes.cxx')
-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 );
}