summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-02 21:06:14 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-02 21:06:14 +0000
commitc8660e164e3719ac2b0a626524f88c8c78ac806f (patch)
tree121c622a881857421fe7e95f3d76cd183b495f73
parentaa35ca9721561fda838ceeb60148d0758a4772a4 (diff)
fix indent
Change-Id: I39e79bc56c437323d4d860174242905ee5261cf6
-rw-r--r--vcl/unx/generic/gdi/gdiimpl.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/vcl/unx/generic/gdi/gdiimpl.cxx b/vcl/unx/generic/gdi/gdiimpl.cxx
index 134ef02faf85..14b32dc6bb16 100644
--- a/vcl/unx/generic/gdi/gdiimpl.cxx
+++ b/vcl/unx/generic/gdi/gdiimpl.cxx
@@ -1302,8 +1302,8 @@ void X11SalGraphicsImpl::drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry
* menubar background. workaround for the special case of
* of a rectangle overlapping to the left.
*/
- if( nPoints == 5 &&
- Points[ 0 ].x == Points[ 1 ].x &&
+ if (nPoints == 5 &&
+ Points[ 0 ].x == Points[ 1 ].x &&
Points[ 1 ].y == Points[ 2 ].y &&
Points[ 2 ].x == Points[ 3 ].x &&
Points[ 0 ].x == Points[ 4 ].x && Points[ 0 ].y == Points[ 4 ].y
@@ -1312,15 +1312,15 @@ void X11SalGraphicsImpl::drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry
bool bLeft = false;
bool bRight = false;
for(unsigned int i = 0; i < nPoints; i++ )
- {
+ {
if( Points[i].x < 0 )
bLeft = true;
else
bRight= true;
- }
- if( bLeft && ! bRight )
- return;
- if( bLeft && bRight )
+ }
+ if( bLeft && ! bRight )
+ return;
+ if( bLeft && bRight )
{
for( unsigned int i = 0; i < nPoints; i++ )
if( Points[i].x < 0 )