svl/source/items/itempool.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7bbd7937e5cbee55ada91c511b5520c82bb13bd3 Author: Michael Stahl <mst...@redhat.com> Date: Thu Oct 1 11:34:36 2015 +0200 svl: fix build "invalid operands to binary operator!=" Change-Id: I948423922b286f98531aad4406c1b36cb6ef95b6 diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx index ae8c7d3..3c320eb 100644 --- a/svl/source/items/itempool.cxx +++ b/svl/source/items/itempool.cxx @@ -743,7 +743,7 @@ const SfxPoolItem& SfxItemPool::Put( const SfxPoolItem& rItem, sal_uInt16 nWhich pNewItem->SetWhich(nWhich); #ifdef DBG_UTIL SFX_ASSERT( rItem.Type() == pNewItem->Type(), nWhich, "unequal types in Put(): no Clone()?" ) - if ( !dynamic_cast<const SfxSetItem*>( &rItem ) != nullptr ) + if (dynamic_cast<const SfxSetItem*>(&rItem) == nullptr) { SFX_ASSERT( !IsItemFlag(nWhich, SfxItemPoolFlags::POOLABLE) || rItem == *pNewItem, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits