Kaydet (Commit) 49a02786 authored tarafından Armin Le Grand's avatar Armin Le Grand Kaydeden (comit) Caolán McNamara

Made conversion from BitmapColor to Color more explicit...

by using operator Color()

(cherry picked from commit 08275c12)

Change-Id: I26350c3d47e37064b5a8674f75c9822753994a17

Corrected color conversion from BitmapColor to Color

(cherry picked from commit b0b8e385)
üst c3359bd7
...@@ -125,9 +125,9 @@ namespace drawinglayer ...@@ -125,9 +125,9 @@ namespace drawinglayer
} }
case TRANSPARENT_COLOR: case TRANSPARENT_COLOR:
{ {
const Color aColor(mpReadBitmap->GetColor(rY, rX)); const BitmapColor aBitmapColor(mpReadBitmap->GetColor(rY, rX));
if(maBitmapEx.GetTransparentColor() == aColor) if(maBitmapEx.GetTransparentColor() == aBitmapColor.operator Color())
{ {
return 255; return 255;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment