diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-24 09:15:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-25 08:06:15 +0100 |
commit | 970ca8de0be4c4cd9485170f3c56a34b4069eec2 (patch) | |
tree | 1eb110e926d1539b729e06ab78e723f5ca19ae1c /oox | |
parent | 880af0672c6362b0dbdae137d92e8ebf85a7b335 (diff) |
loplugin:unusedfields in various
Change-Id: I31d0e6c3559af2e322fb474b97f3bbf4d5064831
Reviewed-on: https://gerrit.libreoffice.org/68280
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-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() |