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

Tor Lillqvist tml at collabora.com
Tue Apr 26 17:07:38 UTC 2016


 vcl/source/outdev/polyline.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 7b1b9d42b03032f50edf3f088f7d06b98895d21d
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Apr 26 20:04:24 2016 +0300

    loplugin:bodynotinblock
    
    Statement aligned as second statement in if body but not in a
    statement block.
    
    Change-Id: I213d0b304fe23c9b7c739257201425475f7cb3b5

diff --git a/vcl/source/outdev/polyline.cxx b/vcl/source/outdev/polyline.cxx
index b2e5b7a..ff89d7b 100644
--- a/vcl/source/outdev/polyline.cxx
+++ b/vcl/source/outdev/polyline.cxx
@@ -359,10 +359,10 @@ bool OutputDevice::DrawPolyLineDirect( const basegfx::B2DPolygon& rB2DPolygon,
                 LineInfo aLineInfo;
                 if( fLineWidth != 0.0 )
                     aLineInfo.SetWidth( static_cast<long>(fLineWidth+0.5) );
-                    // Transport known informations, might be needed
-                    aLineInfo.SetLineJoin(eLineJoin);
-                    aLineInfo.SetLineCap(eLineCap);
-                    // MiterMinimumAngle does not exist yet in LineInfo
+                // Transport known informations, might be needed
+                aLineInfo.SetLineJoin(eLineJoin);
+                aLineInfo.SetLineCap(eLineCap);
+                // MiterMinimumAngle does not exist yet in LineInfo
                 const tools::Polygon aToolsPolygon( rB2DPolygon );
                 mpMetaFile->AddAction( new MetaPolyLineAction( aToolsPolygon, aLineInfo ) );
             }


More information about the Libreoffice-commits mailing list