summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drawinglayer/source/texture/texture3d.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/texture/texture3d.cxx b/drawinglayer/source/texture/texture3d.cxx
index ab1ecc7b87a8..db7ce8ad94d8 100644
--- a/drawinglayer/source/texture/texture3d.cxx
+++ b/drawinglayer/source/texture/texture3d.cxx
@@ -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;
}