[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara
caolanm at redhat.com
Mon Jan 2 21:11:15 UTC 2017
vcl/unx/generic/gdi/gdiimpl.cxx | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
New commits:
commit c8660e164e3719ac2b0a626524f88c8c78ac806f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Jan 2 21:06:14 2017 +0000
fix indent
Change-Id: I39e79bc56c437323d4d860174242905ee5261cf6
diff --git a/vcl/unx/generic/gdi/gdiimpl.cxx b/vcl/unx/generic/gdi/gdiimpl.cxx
index 134ef02..14b32dc 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 )
More information about the Libreoffice-commits
mailing list