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

Mike Kaganski mike.kaganski at collabora.com
Wed Mar 21 09:17:01 UTC 2018


 svl/source/items/itemset.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit f1779e0e4b9d191ca4682011d179ff1879ef82f5
Author: Mike Kaganski <mike.kaganski at collabora.com>
Date:   Wed Mar 21 09:23:48 2018 +0100

    Remove redundant assert
    
    We had just returned on this condition
    
    Change-Id: I822a4fe62e24442800ca17b404862818095e641d
    Reviewed-on: https://gerrit.libreoffice.org/51685
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx
index 9aeacbd0ee9d..398a74896084 100644
--- a/svl/source/items/itemset.cxx
+++ b/svl/source/items/itemset.cxx
@@ -1338,7 +1338,6 @@ bool SfxItemSet::Equals(const SfxItemSet &rCmp, bool bComparePool) const
         return false;
 
     // If we reach here and bDifferentPools==true that means bComparePool==false.
-    assert(!bDifferentPools || !bComparePool);
 
     // Counting Ranges takes longer; they also need to be the same, however
     sal_uInt16 nCount1 = TotalCount();


More information about the Libreoffice-commits mailing list