You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by al...@apache.org on 2013/07/02 14:56:06 UTC
svn commit: r1498913 - /openoffice/trunk/main/vcl/source/gdi/bitmapex.cxx
Author: alg
Date: Tue Jul 2 12:56:06 2013
New Revision: 1498913
URL: http://svn.apache.org/r1498913
Log:
corrected some dumb self-assignments found by CovertyScan, thanks for detection
Modified:
openoffice/trunk/main/vcl/source/gdi/bitmapex.cxx
Modified: openoffice/trunk/main/vcl/source/gdi/bitmapex.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/source/gdi/bitmapex.cxx?rev=1498913&r1=1498912&r2=1498913&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/source/gdi/bitmapex.cxx (original)
+++ openoffice/trunk/main/vcl/source/gdi/bitmapex.cxx Tue Jul 2 12:56:06 2013
@@ -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());