diff options
Diffstat (limited to 'oox/source/drawingml/shapegroupcontext.cxx')
-rw-r--r-- | oox/source/drawingml/shapegroupcontext.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/oox/source/drawingml/shapegroupcontext.cxx b/oox/source/drawingml/shapegroupcontext.cxx index 308a5006c70d..831d72b6c5e7 100644 --- a/oox/source/drawingml/shapegroupcontext.cxx +++ b/oox/source/drawingml/shapegroupcontext.cxx @@ -86,7 +86,11 @@ Reference< XFastContextHandler > ShapeGroupContext::createFastChildContext( sal_ break; */ case XML_cxnSp: // connector shape - xRet.set( new ConnectorShapeContext( *this, mpGroupShapePtr, ShapePtr( new Shape( "com.sun.star.drawing.ConnectorShape" ) ) ) ); + { + ShapePtr pShape(new Shape("com.sun.star.drawing.ConnectorShape")); + pShape->setLockedCanvas(mpGroupShapePtr->getLockedCanvas()); + xRet.set( new ConnectorShapeContext( *this, mpGroupShapePtr, pShape ) ); + } break; case XML_grpSp: // group shape xRet.set( new ShapeGroupContext( *this, mpGroupShapePtr, ShapePtr( new Shape( "com.sun.star.drawing.GroupShape" ) ) ) ); |