summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/shapegroupcontext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/drawingml/shapegroupcontext.cxx')
-rw-r--r--oox/source/drawingml/shapegroupcontext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/shapegroupcontext.cxx b/oox/source/drawingml/shapegroupcontext.cxx
index 84fc719f0e50..61aadb45d862 100644
--- a/oox/source/drawingml/shapegroupcontext.cxx
+++ b/oox/source/drawingml/shapegroupcontext.cxx
@@ -45,7 +45,7 @@ ShapeGroupContext::ShapeGroupContext( FragmentHandler2 const & rParent, ShapePtr
{
if( pMasterShapePtr )
mpGroupShapePtr->setWps(pMasterShapePtr->getWps());
- if( pMasterShapePtr.get() && mpGroupShapePtr.get() )
+ if( pMasterShapePtr && mpGroupShapePtr )
pMasterShapePtr->addChild( mpGroupShapePtr );
}