Author: hdu Date: Wed Feb 27 14:03:27 2013 New Revision: 1450778 URL: http://svn.apache.org/r1450778 Log: WaE: removed suspicious self-assignments in the new BMP_SCALE_* code
Modified: openoffice/trunk/main/vcl/source/gdi/bitmap3.cxx Modified: openoffice/trunk/main/vcl/source/gdi/bitmap3.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/source/gdi/bitmap3.cxx?rev=1450778&r1=1450777&r2=1450778&view=diff ============================================================================== --- openoffice/trunk/main/vcl/source/gdi/bitmap3.cxx (original) +++ openoffice/trunk/main/vcl/source/gdi/bitmap3.cxx Wed Feb 27 14:03:27 2013 @@ -1559,7 +1559,6 @@ sal_Bool Bitmap::ImplScaleSuper( else nWeightY = nMax; - nWeightY = nWeightY ; nSumB += nWeightY * ( nSumRowB / nTotalWeightX ); nSumG += nWeightY * ( nSumRowG / nTotalWeightX ); nSumR += nWeightY * ( nSumRowR / nTotalWeightX ); @@ -1704,7 +1703,6 @@ sal_Bool Bitmap::ImplScaleSuper( else nWeightY = nMax; - nWeightY = nWeightY ; nSumB += nWeightY * ( nSumRowB / nTotalWeightX ); nSumG += nWeightY * ( nSumRowG / nTotalWeightX ); nSumR += nWeightY * ( nSumRowR / nTotalWeightX ); @@ -1851,7 +1849,6 @@ sal_Bool Bitmap::ImplScaleSuper( else nWeightY = nMax; - nWeightY = nWeightY ; nSumB += nWeightY * ( nSumRowB / nTotalWeightX ); nSumG += nWeightY * ( nSumRowG / nTotalWeightX ); nSumR += nWeightY * ( nSumRowR / nTotalWeightX ); @@ -1996,7 +1993,6 @@ sal_Bool Bitmap::ImplScaleSuper( else nWeightY = nMax; - nWeightY = nWeightY ; nSumB += nWeightY * ( nSumRowB / nTotalWeightX ); nSumG += nWeightY * ( nSumRowG / nTotalWeightX ); nSumR += nWeightY * ( nSumRowR / nTotalWeightX ); @@ -2139,7 +2135,6 @@ sal_Bool Bitmap::ImplScaleSuper( else nWeightY = nMax; - nWeightY = nWeightY ; nSumB += nWeightY * ( nSumRowB / nTotalWeightX ); nSumG += nWeightY * ( nSumRowG / nTotalWeightX ); nSumR += nWeightY * ( nSumRowR / nTotalWeightX );