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

Tor Lillqvist tml at collabora.com
Wed Feb 5 00:53:09 PST 2014


 oox/source/export/drawingml.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 651756a5f40b6340518e97a31113cb59438ab40d
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Feb 5 10:52:34 2014 +0200

    WaE: statement aligned as ... [loplugin:bodynotinblock]
    
    Change-Id: I4e3078ab29ff6ad2d89f68ef6413d2f3fb1fcb80

diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index a7c1f38..4571146 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -400,7 +400,7 @@ void DrawingML::WriteGradientFill( Reference< XPropertySet > rXPropSet )
                                    FSEND );
         }
         else
-        switch( aGradient.Style ) {
+            switch( aGradient.Style ) {
             default:
             case GradientStyle_LINEAR:
                 mpFS->startElementNS( XML_a, XML_gsLst, FSEND );
@@ -438,7 +438,7 @@ void DrawingML::WriteGradientFill( Reference< XPropertySet > rXPropSet )
                                        XML_path, ( aGradient.Style == awt::GradientStyle_RADIAL || aGradient.Style == awt::GradientStyle_ELLIPTICAL ) ? "circle" : "rect",
                                        FSEND );
                 break;
-        }
+            }
 
         mpFS->endElementNS( XML_a, XML_gradFill );
     }


More information about the Libreoffice-commits mailing list