summaryrefslogtreecommitdiff
path: root/oox/source/ppt/pptshapegroupcontext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/ppt/pptshapegroupcontext.cxx')
-rw-r--r--oox/source/ppt/pptshapegroupcontext.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/oox/source/ppt/pptshapegroupcontext.cxx b/oox/source/ppt/pptshapegroupcontext.cxx
index de8db9b237cd..4caa76b1c1c7 100644
--- a/oox/source/ppt/pptshapegroupcontext.cxx
+++ b/oox/source/ppt/pptshapegroupcontext.cxx
@@ -109,9 +109,7 @@ ContextHandlerRef PPTShapeGroupContext::onCreateContext( sal_Int32 aElementToken
pBackgroundPropertiesPtr->moFillType = XML_solidFill;
pBackgroundPropertiesPtr->maFillColor.setSrgbClr(0xFFFFFF);
}
- if ( pBackgroundPropertiesPtr ) {
- pShape->getFillProperties().assignUsed( *pBackgroundPropertiesPtr );
- }
+ pShape->getFillProperties().assignUsed( *pBackgroundPropertiesPtr );
}
pShape->setModelId(rAttribs.getString( XML_modelId ).get());
return new PPTShapeContext( *this, mpSlidePersistPtr, mpGroupShapePtr, pShape );