From efc6743b3510717213ff4a75f9acbfe1c940a682 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Fri, 15 Jun 2012 19:23:06 -0500 Subject: fix c02dd533f5a21b8386b6cfe8fdd9e3f83e7cbc7b Change-Id: I8105fc255e6ad7d9d102cbd1928329453b9ca7e8 --- vcl/source/gdi/bitmap3.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/source') 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 -- cgit