vcl/source/gdi/bitmapex.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
New commits: commit bd94c69a0fb806a030778544f47114338d9b342c Author: Armin Le Grand <[email protected]> Date: Tue Jul 2 12:56:06 2013 +0000 corrected some dumb self-assignments found by CovertyScan, thanks for detection diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx index f86ebe0..6925142 100644 --- a/vcl/source/gdi/bitmapex.cxx +++ b/vcl/source/gdi/bitmapex.cxx @@ -1244,20 +1244,20 @@ BitmapEx VCL_DLLPUBLIC createBlendFrame( if(aLastSize == rSize && nLastAlpha == nAlpha - && aLastColorTopLeft == aLastColorTopLeft - && aLastColorTopRight == aLastColorTopRight - && aLastColorBottomRight == aLastColorBottomRight - && aLastColorBottomLeft == aLastColorBottomLeft) + && aLastColorTopLeft == aColorTopLeft + && aLastColorTopRight == aColorTopRight + && aLastColorBottomRight == aColorBottomRight + && aLastColorBottomLeft == aColorBottomLeft) { return aLastResult; } aLastSize = rSize; nLastAlpha = nAlpha; - aLastColorTopLeft = aLastColorTopLeft; - aLastColorTopRight = aLastColorTopRight; - aLastColorBottomRight = aLastColorBottomRight; - aLastColorBottomLeft = aLastColorBottomLeft; + aLastColorTopLeft = aColorTopLeft; + aLastColorTopRight = aColorTopRight; + aLastColorBottomRight = aColorBottomRight; + aLastColorBottomLeft = aColorBottomLeft; aLastResult.Clear(); const long nW(rSize.Width()); _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
