diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-11 11:05:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-11 11:05:10 +0000 |
commit | b92174e4c723bacfcfc245a483365cc7fb5d72c1 (patch) | |
tree | 3ba517ff57d130ff789f033732acc253c4caf94b | |
parent | c504477e7c3c7109fc4439988d8f3eb11a267c74 (diff) |
fix svl build
Change-Id: I23a8b3a86ecbab4f1e5b6ae6405279fabcbdb7e3
-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 de032c0af575..b0eb941e2b04 100644 --- a/svl/source/items/itempool.cxx +++ b/svl/source/items/itempool.cxx @@ -742,7 +742,7 @@ const SfxPoolItem& SfxItemPool::Put( const SfxPoolItem& rItem, sal_uInt16 nWhich SfxPoolItem* pNewItem = rItem.Clone(pImp->mpMaster); pNewItem->SetWhich(nWhich); #ifdef DBG_UTIL - SFX_ASSERT( rItem.Type() == pNewItem->Type(), nWhich, "unequal types in Put(): no Clone()?" ) + SFX_ASSERT( typeid(rItem) == typeid(*pNewItem), nWhich, "unequal types in Put(): no Clone()?" ) if (dynamic_cast<const SfxSetItem*>(&rItem) == nullptr) { SFX_ASSERT( !IsItemFlag(nWhich, SfxItemPoolFlags::POOLABLE) || |