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

Tor Lillqvist tml at collabora.com
Mon Apr 21 09:51:38 PDT 2014


 vcl/source/gdi/print.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a65a48f713f2227991a2650d228ef6c15e708ca6
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Apr 21 19:47:24 2014 +0300

    WaE: implicit conversion of literal of type 'int' to 'bool'
    
    Change-Id: I1c3721a4d44c882c749903c15f05666a74c725a5

diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx
index 6983a3c..5659709 100644
--- a/vcl/source/gdi/print.cxx
+++ b/vcl/source/gdi/print.cxx
@@ -1843,13 +1843,13 @@ void Printer::SetFontOrientation( ImplFontEntry* const pFontEntry ) const
 void Printer::DrawImage( const Point&, const Image&, sal_uInt16 )
 {
     SAL_WARN ("vcl.gdi", "DrawImage(): Images can't be drawn on any Printer instance");
-    assert(0);
+    assert(false);
 }
 
 void Printer::DrawImage( const Point&, const Size&, const Image&, sal_uInt16 )
 {
     SAL_WARN ("vcl.gdi", "DrawImage(): Images can't be drawn on any Printer instance");
-    assert(0);
+    assert(false);
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list