diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-08-17 01:35:41 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-08-17 05:15:24 +0200 |
commit | 6d51e258b9b9017a01e266897fca86b3d1159e33 (patch) | |
tree | b0432625669437db7382a711a1afa077f35d4f14 | |
parent | ebac76936d995deff24ea7e0ab625c7366c632ac (diff) |
warning C4800: 'int' : forcing value to bool 'true' or 'false'
Change-Id: I9f77b85eb9ccaa4defa3dea571b375c0e480caa2
-rw-r--r-- | vcl/inc/outdata.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/outdata.hxx b/vcl/inc/outdata.hxx index 8b5243df627a..f48f0f991b64 100644 --- a/vcl/inc/outdata.hxx +++ b/vcl/inc/outdata.hxx @@ -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 |