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

Michael Stahl mstahl at redhat.com
Wed Oct 9 12:54:40 PDT 2013


 vcl/qa/cppunit/canvasbitmaptest.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 566bdd3a4dfc69431460ae04700d4b2aa9910eb6
Author: Michael Stahl <mstahl at redhat.com>
Date:   Wed Oct 9 21:51:41 2013 +0200

    warning C4805 unsafe mix of type sal_Bool and type bool
    
    Change-Id: I9e6c8ab9e2c113ec0f207a2f96e34c0fcdb70a62

diff --git a/vcl/qa/cppunit/canvasbitmaptest.cxx b/vcl/qa/cppunit/canvasbitmaptest.cxx
index fa3835a..197d38e 100644
--- a/vcl/qa/cppunit/canvasbitmaptest.cxx
+++ b/vcl/qa/cppunit/canvasbitmaptest.cxx
@@ -753,9 +753,9 @@ void CanvasBitmapTest::runTest()
 
     aBmp = vcl::unotools::bitmapExFromXBitmap(xTestBmp);
     CPPUNIT_ASSERT_MESSAGE( "Palette bitmap is not transparent",
-                            aBmp.IsTransparent() == true);
+                            aBmp.IsTransparent());
     CPPUNIT_ASSERT_MESSAGE( "Palette bitmap has no alpha",
-                            aBmp.IsAlpha() == true);
+                            aBmp.IsAlpha());
     CPPUNIT_ASSERT_MESSAGE( "Bitmap does not have size (10,10)",
                             aBmp.GetSizePixel() == Size(10,10));
     CPPUNIT_ASSERT_MESSAGE( "Bitmap has bitcount of 24",


More information about the Libreoffice-commits mailing list