incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1399610 - /incubator/ooo/trunk/main/drawinglayer/source/texture/texture3d.cxx
Date Thu, 18 Oct 2012 12:24:46 GMT
Author: alg
Date: Thu Oct 18 12:24:45 2012
New Revision: 1399610

URL: http://svn.apache.org/viewvc?rev=1399610&view=rev
Log:
Corrected color conversion from BitmapColor to Color

Modified:
    incubator/ooo/trunk/main/drawinglayer/source/texture/texture3d.cxx

Modified: incubator/ooo/trunk/main/drawinglayer/source/texture/texture3d.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/drawinglayer/source/texture/texture3d.cxx?rev=1399610&r1=1399609&r2=1399610&view=diff
==============================================================================
--- incubator/ooo/trunk/main/drawinglayer/source/texture/texture3d.cxx (original)
+++ incubator/ooo/trunk/main/drawinglayer/source/texture/texture3d.cxx Thu Oct 18 12:24:45
2012
@@ -134,7 +134,7 @@ namespace drawinglayer
                 {
                     const BitmapColor aBitmapColor(mpReadBitmap->GetColor(rY, rX));
 
-                    if(maBitmapEx.GetTransparentColor() == Color(aBitmapColor))
+                    if(maBitmapEx.GetTransparentColor() == aBitmapColor.operator Color())
                     {
                         return 255;
                     }



Mime
View raw message