diff options
Diffstat (limited to 'vcl/source')
-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 |