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

Tor Lillqvist tml at collabora.com
Tue Jan 27 05:03:57 PST 2015


 xmlscript/source/xmldlg_imexp/xmldlg_export.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ad3e0989d137ef765d634cb07a7a7a46ecc774ff
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Jan 27 15:01:14 2015 +0200

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

diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
index e45ce96..ab9049f 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
@@ -1034,7 +1034,7 @@ void ElementDescriptor::readImageScaleModeAttr( OUString const & rPropName, OUSt
                     addAttribute( rAttrName, OUString( "anisotropic" ) );
                     break;
                 default:
-                    OSL_ENSURE( 0, "### illegal image scale mode value.");
+                    OSL_ENSURE( false, "### illegal image scale mode value.");
                     break;
             }
         }


More information about the Libreoffice-commits mailing list