diff options
Diffstat (limited to 'vcl/source/bitmap/BitmapScaleSuperFilter.cxx')
-rw-r--r-- | vcl/source/bitmap/BitmapScaleSuperFilter.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/bitmap/BitmapScaleSuperFilter.cxx b/vcl/source/bitmap/BitmapScaleSuperFilter.cxx index ba6be51513b0..27baa334b839 100644 --- a/vcl/source/bitmap/BitmapScaleSuperFilter.cxx +++ b/vcl/source/bitmap/BitmapScaleSuperFilter.cxx @@ -358,7 +358,7 @@ void scalePallete8bit2(ScaleContext &rCtx, long nStartY, long nEndY) } else if( j == 0 ) { - long nWeightX = (nMax- rCtx.mpMapFX[ nLeft ]) ; + long nWeightX = nMax- rCtx.mpMapFX[ nLeft ]; nSumRowB += ( nWeightX *rCol.GetBlue()) ; nSumRowG += ( nWeightX *rCol.GetGreen()) ; nSumRowR += ( nWeightX *rCol.GetRed()) ; @@ -485,7 +485,7 @@ void scalePalleteGeneral2(ScaleContext &rCtx, long nStartY, long nEndY) else if( j == 0 ) { - long nWeightX = (nMax- rCtx.mpMapFX[ nLeft ]) ; + long nWeightX = nMax- rCtx.mpMapFX[ nLeft ]; nSumRowB += ( nWeightX *aCol0.GetBlue()) ; nSumRowG += ( nWeightX *aCol0.GetGreen()) ; nSumRowR += ( nWeightX *aCol0.GetRed()) ; @@ -613,7 +613,7 @@ void scale24bitBGR2(ScaleContext &rCtx, long nStartY, long nEndY) } else if( j == 0 ) { - long nWeightX = (nMax- rCtx.mpMapFX[ nLeft ]) ; + long nWeightX = nMax- rCtx.mpMapFX[ nLeft ]; nSumRowB += ( nWeightX *( *pTmpX )) ;pTmpX++; nSumRowG += ( nWeightX *( *pTmpX )) ;pTmpX++; nSumRowR += ( nWeightX *( *pTmpX )) ;pTmpX++; @@ -735,7 +735,7 @@ void scale24bitRGB2(ScaleContext &rCtx, long nStartY, long nEndY) } else if( j == 0 ) { - long nWeightX = (nMax- rCtx.mpMapFX[ nLeft ]) ; + long nWeightX = nMax- rCtx.mpMapFX[ nLeft ]; nSumRowR += ( nWeightX *( *pTmpX )) ;pTmpX++; nSumRowG += ( nWeightX *( *pTmpX )) ;pTmpX++; nSumRowB += ( nWeightX *( *pTmpX )) ;pTmpX++; @@ -860,7 +860,7 @@ void scaleNonPalleteGeneral2(ScaleContext &rCtx, long nStartY, long nEndY) else if( j == 0 ) { - long nWeightX = (nMax- rCtx.mpMapFX[ nLeft ]) ; + long nWeightX = nMax- rCtx.mpMapFX[ nLeft ]; nSumRowB += ( nWeightX *aCol0.GetBlue()) ; nSumRowG += ( nWeightX *aCol0.GetGreen()) ; nSumRowR += ( nWeightX *aCol0.GetRed()) ; |