[Libreoffice-commits] core.git: oox/source

Caolán McNamara caolanm at redhat.com
Sun Jan 14 14:59:25 UTC 2018


 oox/source/vml/vmlshape.cxx |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

New commits:
commit fa014ee6e13d182cb5830698558284e7caffa5f9
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Jan 14 14:55:17 2018 +0000

    fix indent
    
    Change-Id: Ic806f41607c201d9b68074244203c6020d4985c7

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);


More information about the Libreoffice-commits mailing list