Kaydet (Commit) 6d51e258 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

warning C4800: 'int' : forcing value to bool 'true' or 'false'

Change-Id: I9f77b85eb9ccaa4defa3dea571b375c0e480caa2
üst ebac7693
......@@ -28,9 +28,9 @@ inline SalColor ImplColorToSal( Color aColor )
return MAKE_SALCOLOR( aColor.GetRed(), aColor.GetGreen(), aColor.GetBlue() );
}
inline int ImplIsColorTransparent( Color aColor )
inline bool ImplIsColorTransparent( Color aColor )
{
return aColor.GetTransparency();
return aColor.GetTransparency() != 0;
}
#endif // INCLUDED_VCL_INC_OUTDATA_HXX
......
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