summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-06-15 19:23:06 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-06-15 19:23:06 -0500
commitefc6743b3510717213ff4a75f9acbfe1c940a682 (patch)
tree29b2f468e878b5127cf6798bc782a1f3e5f5a801 /vcl/source
parentee41193f3e12ea55237f7681e4b53162a0d421d2 (diff)
fix c02dd533f5a21b8386b6cfe8fdd9e3f83e7cbc7b
Change-Id: I8105fc255e6ad7d9d102cbd1928329453b9ca7e8
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/gdi/bitmap3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx
index a4696814ba76..42e7de3ceb81 100644
--- a/vcl/source/gdi/bitmap3.cxx
+++ b/vcl/source/gdi/bitmap3.cxx
@@ -2316,7 +2316,7 @@ void Bitmap::ImplCalculateContributions( const int aSourceSize, const int aDesti
aWeight = aKernel.Calculate( aFilterFactor * ( aCenter - (double) j ) );
// Reduce calculations with ignoring weights of 0.0
- if (fabs(aWeight < 0.0001))
+ if (fabs(aWeight) < 0.0001)
continue;
// Handling on edges