summaryrefslogtreecommitdiff
path: root/include/oox/vml/vmlshapecontainer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/oox/vml/vmlshapecontainer.hxx')
-rw-r--r--include/oox/vml/vmlshapecontainer.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/oox/vml/vmlshapecontainer.hxx b/include/oox/vml/vmlshapecontainer.hxx
index 6be9020051c2..1b72c8a38f3b 100644
--- a/include/oox/vml/vmlshapecontainer.hxx
+++ b/include/oox/vml/vmlshapecontainer.hxx
@@ -126,6 +126,7 @@ template< typename ShapeT >
std::shared_ptr<ShapeT> ShapeContainer::createShape()
{
auto xShape = std::make_shared<ShapeT>( mrDrawing );
+ xShape->setContainer(this);
maShapes.push_back( xShape );
return xShape;
}