diff options
Diffstat (limited to 'oox/source/drawingml/shapegroupcontext.cxx')
-rw-r--r-- | oox/source/drawingml/shapegroupcontext.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/oox/source/drawingml/shapegroupcontext.cxx b/oox/source/drawingml/shapegroupcontext.cxx index c916642f1fcc..2bd12eafcb50 100644 --- a/oox/source/drawingml/shapegroupcontext.cxx +++ b/oox/source/drawingml/shapegroupcontext.cxx @@ -47,12 +47,11 @@ namespace oox { namespace drawingml { ShapeGroupContext::ShapeGroupContext( ContextHandler2Helper const & rParent, ShapePtr const & pMasterShapePtr, ShapePtr const & pGroupShapePtr ) : ContextHandler2( rParent ) , mpGroupShapePtr( pGroupShapePtr ) -, mpMasterShapePtr( pMasterShapePtr ) { if( pMasterShapePtr ) mpGroupShapePtr->setWps(pMasterShapePtr->getWps()); - if( mpMasterShapePtr.get() && mpGroupShapePtr.get() ) - mpMasterShapePtr->addChild( mpGroupShapePtr ); + if( pMasterShapePtr.get() && mpGroupShapePtr.get() ) + pMasterShapePtr->addChild( mpGroupShapePtr ); } ShapeGroupContext::~ShapeGroupContext() |