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

Tor Lillqvist tml at collabora.com
Fri Feb 28 03:08:08 PST 2014


 vcl/qa/cppunit/canvasbitmaptest.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c28e4af6fe0e19f82b39aa0daa310eba8a3eebfe
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Feb 28 13:03:25 2014 +0200

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

diff --git a/vcl/qa/cppunit/canvasbitmaptest.cxx b/vcl/qa/cppunit/canvasbitmaptest.cxx
index f7da2df..3fac60c 100644
--- a/vcl/qa/cppunit/canvasbitmaptest.cxx
+++ b/vcl/qa/cppunit/canvasbitmaptest.cxx
@@ -196,7 +196,7 @@ void checkCanvasBitmap( const rtl::Reference<VclCanvasBitmap>& xBmp,
                                 xPal->getNumberOfEntries() == 1L << nOriginalDepth);
         uno::Sequence<double> aIndex;
         CPPUNIT_ASSERT_MESSAGE( "Palette is not read-only",
-                                xPal->setIndex(aIndex,true,0) == false);
+                                xPal->setIndex(aIndex,true,0) == sal_False);
         CPPUNIT_ASSERT_MESSAGE( "Palette entry 0 is not opaque",
                                 xPal->getIndex(aIndex,0));
         CPPUNIT_ASSERT_MESSAGE( "Palette has no valid color space",


More information about the Libreoffice-commits mailing list