summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/bitmap3.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-22 15:38:12 +0200
committerNoel Grandin <noel@peralex.com>2016-02-22 15:38:35 +0200
commit84db33a4569c67c0164b85bd218246e1741f6815 (patch)
treec69a54c5f68e3f6d170a8f7c91617e476ed42ab7 /vcl/source/gdi/bitmap3.cxx
parent8fa439aa710bdd21e61910c02bfb9d8a8117eef4 (diff)
loplugin:commaoperator in vcl/
Change-Id: Ia5bbce27d9e9526122ce1e27389c7845e6709f27
Diffstat (limited to 'vcl/source/gdi/bitmap3.cxx')
-rw-r--r--vcl/source/gdi/bitmap3.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx
index 257eaa43ea40..5d08e16aa8ff 100644
--- a/vcl/source/gdi/bitmap3.cxx
+++ b/vcl/source/gdi/bitmap3.cxx
@@ -2027,7 +2027,8 @@ void Bitmap::ImplMedianCut( sal_uLong* pColBuf, BitmapPalette& rPal,
while( nPixNew < nTest )
{
- nB++, nPixOld = nPixNew;
+ nB++;
+ nPixOld = nPixNew;
for( long nR = nR1; nR <= nR2; nR++ )
for( long nG = nG1; nG <= nG2; nG++ )
nPixNew += pBuf[ RGB15( nR, nG, nB ) ];
@@ -2050,7 +2051,8 @@ void Bitmap::ImplMedianCut( sal_uLong* pColBuf, BitmapPalette& rPal,
while( nPixNew < nTest )
{
- nG++, nPixOld = nPixNew;
+ nG++;
+ nPixOld = nPixNew;
for( long nR = nR1; nR <= nR2; nR++ )
for( long nB = nB1; nB <= nB2; nB++ )
nPixNew += pBuf[ RGB15( nR, nG, nB ) ];
@@ -2073,7 +2075,8 @@ void Bitmap::ImplMedianCut( sal_uLong* pColBuf, BitmapPalette& rPal,
while( nPixNew < nTest )
{
- nR++, nPixOld = nPixNew;
+ nR++;
+ nPixOld = nPixNew;
for( long nG = nG1; nG <= nG2; nG++ )
for( long nB = nB1; nB <= nB2; nB++ )
nPixNew += pBuf[ RGB15( nR, nG, nB ) ];