summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-17 01:35:41 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-17 05:15:24 +0200
commit6d51e258b9b9017a01e266897fca86b3d1159e33 (patch)
treeb0432625669437db7382a711a1afa077f35d4f14 /vcl
parentebac76936d995deff24ea7e0ab625c7366c632ac (diff)
warning C4800: 'int' : forcing value to bool 'true' or 'false'
Change-Id: I9f77b85eb9ccaa4defa3dea571b375c0e480caa2
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/outdata.hxx4
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