diff options
author | Andras Timar <atimar@suse.com> | 2012-10-13 12:46:07 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-10-13 16:48:56 +0200 |
commit | 644f7894153a9a9631de307b0ffeadf4bfa283e4 (patch) | |
tree | e5db092eb5d7843bf843aa617613346c47414be7 /vcl | |
parent | 2d55646fe058929bca468757f587fc235de6dbdf (diff) |
confusion around parantheses near fabs()
Change-Id: Ifcab9f9ef73eb044288ed68014dc05acd9a2efa8
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 |