[Libreoffice-commits] .: vcl/source

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Fri Jun 15 17:23:50 PDT 2012


 vcl/source/gdi/bitmap3.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit efc6743b3510717213ff4a75f9acbfe1c940a682
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Fri Jun 15 19:23:06 2012 -0500

    fix c02dd533f5a21b8386b6cfe8fdd9e3f83e7cbc7b
    
    Change-Id: I8105fc255e6ad7d9d102cbd1928329453b9ca7e8

diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx
index a469681..42e7de3 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


More information about the Libreoffice-commits mailing list