diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-01-14 14:55:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-01-14 14:55:17 +0000 |
commit | fa014ee6e13d182cb5830698558284e7caffa5f9 (patch) | |
tree | fc4ff5fc65ad3abbc4115466fc376705e447847d /oox | |
parent | d04f9f5659d21a4b48ff66424db60b5b0536f06e (diff) |
fix indent
Change-Id: Ic806f41607c201d9b68074244203c6020d4985c7
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/vml/vmlshape.cxx | 18 |
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); |