diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-15 19:23:06 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-15 19:23:06 -0500 |
commit | efc6743b3510717213ff4a75f9acbfe1c940a682 (patch) | |
tree | 29b2f468e878b5127cf6798bc782a1f3e5f5a801 /vcl | |
parent | Dialog for Smooth filter (diff) | |
download | core-efc6743b3510717213ff4a75f9acbfe1c940a682.tar.gz core-efc6743b3510717213ff4a75f9acbfe1c940a682.zip |
fix c02dd533f5a21b8386b6cfe8fdd9e3f83e7cbc7b
Change-Id: I8105fc255e6ad7d9d102cbd1928329453b9ca7e8
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/bitmap3.cxx | 2 |
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 |