summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/diagram/diagram.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/drawingml/diagram/diagram.cxx')
-rw-r--r--oox/source/drawingml/diagram/diagram.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/oox/source/drawingml/diagram/diagram.cxx b/oox/source/drawingml/diagram/diagram.cxx
index a72988627602..3272e47da5fe 100644
--- a/oox/source/drawingml/diagram/diagram.cxx
+++ b/oox/source/drawingml/diagram/diagram.cxx
@@ -317,6 +317,8 @@ void Diagram::addTo( const ShapePtr & pParentShape )
// collect data, init maps
build( );
+ pParentShape->setChildSize(pParentShape->getSize());
+
// create Shape hierarchy
ShapeCreationVisitor aCreationVisitor(pParentShape, *this);
if( mpLayout->getNode() )