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

Stephan Bergmann sbergman at redhat.com
Sun Nov 23 09:11:05 PST 2014


 svx/source/items/customshapeitem.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 40833b49ebdef2e5ab9ece33fc558fd0929f4e8d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Sun Nov 23 18:10:35 2014 +0100

    loplugin:literaltoboolconversion
    
    Change-Id: Ibecd561c1d27e129ad1f481bdb7f8a7bb4d0f8d8

diff --git a/svx/source/items/customshapeitem.cxx b/svx/source/items/customshapeitem.cxx
index cb6e1fa..d543fea 100644
--- a/svx/source/items/customshapeitem.cxx
+++ b/svx/source/items/customshapeitem.cxx
@@ -336,7 +336,7 @@ bool SdrCustomShapeGeometryItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMe
             {
                 if (aPropSeq[i].Name == aPropSeq[j].Name)
                 {
-                    assert(0); // serious bug: duplicate xml attribute exported
+                    assert(false); // serious bug: duplicate xml attribute exported
                     OUString const name(aPropSeq[i].Name);
                     aPropSeq.realloc(0);
                     throw uno::RuntimeException(


More information about the Libreoffice-commits mailing list