vcl/quartz/salbmp.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 40a26be24bd64a6c7c8cc98228fd440c8b9323b5 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Apr 16 21:19:06 2015 +0200 loplugin:implicitboolconversion gold Change-Id: Ie0768c822d1271cacd230f8bd9a4c7987e1ebba3 diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx index fd0fe7d..a0e5ca4 100644 --- a/vcl/quartz/salbmp.cxx +++ b/vcl/quartz/salbmp.cxx @@ -414,8 +414,8 @@ public: } virtual void WritePixel( ColorData nColor ) SAL_OVERRIDE { - *pData++ = ((COLORDATA_RED( nColor ) & 0xf8 ) << 7 ) || - ((COLORDATA_GREEN( nColor ) & 0xf8 ) << 2 ) || + *pData++ = ((COLORDATA_RED( nColor ) & 0xf8 ) << 7 ) | + ((COLORDATA_GREEN( nColor ) & 0xf8 ) << 2 ) | ((COLORDATA_BLUE( nColor ) & 0xf8 ) >> 3 ); } }; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits