summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oox/source/vml/vmlshape.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/oox/source/vml/vmlshape.cxx b/oox/source/vml/vmlshape.cxx
index 8dfadd766f19..112016d0849c 100644
--- a/oox/source/vml/vmlshape.cxx
+++ b/oox/source/vml/vmlshape.cxx
@@ -1418,18 +1418,18 @@ Reference< XShape > GroupShape::implConvertAndInsert( const Reference< XShapes >
beans::PropertyValue aPair;
aPair.Name = "mso-edit-as";
aPair.Value <<= maTypeModel.maEditAs;
- if (aGrabBag.hasElements())
- {
+ if (aGrabBag.hasElements())
+ {
sal_Int32 nLength = aGrabBag.getLength();
aGrabBag.realloc(nLength + 1);
aGrabBag[nLength] = aPair;
- }
- else
- {
- aGrabBag.realloc(1);
- aGrabBag[0] = aPair;
- }
- xPropertySet->setPropertyValue("InteropGrabBag", uno::makeAny(aGrabBag));
+ }
+ else
+ {
+ aGrabBag.realloc(1);
+ aGrabBag[0] = aPair;
+ }
+ xPropertySet->setPropertyValue("InteropGrabBag", uno::makeAny(aGrabBag));
}
// Make sure group shapes are inline as well, unless there is an explicit different style.
PropertySet aPropertySet(xGroupShape);