[Libreoffice-commits] core.git: vcl/workben

Tor Lillqvist tml at collabora.com
Sun Nov 16 23:36:27 PST 2014


 vcl/workben/vcldemo.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0fcc1718e6cc8cfadabea9ab1344046b716f51df
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Nov 17 09:26:21 2014 +0200

    WaE: implicit conversion (IntegralCast) from bool to 'int'
    
    Change-Id: I0eef8d71334a29a773aaff80c9d1c1ae8b9d9842

diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index 94d5492..2238824 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -712,7 +712,7 @@ public:
                 Size aSize(maIcons[i].GetSizePixel());
 //              sAL_DEBUG("Draw icon '" << maIconNames[i] << "'");
 
-                if (!i % 4)
+                if (!(i % 4))
                     rDev.DrawBitmapEx(p, maIcons[i]);
                 else
                 {


More information about the Libreoffice-commits mailing list