[Libreoffice-commits] core.git: Branch 'aoo/trunk' - vcl/source
Armin Le Grand
alg at apache.org
Tue Jul 2 07:07:45 PDT 2013
vcl/source/gdi/bitmapex.cxx | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
New commits:
commit bd94c69a0fb806a030778544f47114338d9b342c
Author: Armin Le Grand <alg at apache.org>
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());
More information about the Libreoffice-commits
mailing list