diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-10-01 11:34:36 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-10-01 11:35:21 +0200 |
commit | 7bbd7937e5cbee55ada91c511b5520c82bb13bd3 (patch) | |
tree | 0aa89ac768c7e3b137250940746a7a3f92db4566 /svl | |
parent | aed0a639f4af8e630dbd6bd4f2e0368b1481eae3 (diff) |
svl: fix build "invalid operands to binary operator!="
Change-Id: I948423922b286f98531aad4406c1b36cb6ef95b6
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/itempool.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx index ae8c7d35d932..3c320ebbcda0 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, |