From b92174e4c723bacfcfc245a483365cc7fb5d72c1 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 11 Nov 2015 11:05:04 +0000 Subject: fix svl build Change-Id: I23a8b3a86ecbab4f1e5b6ae6405279fabcbdb7e3 --- svl/source/items/itempool.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(&rItem) == nullptr) { SFX_ASSERT( !IsItemFlag(nWhich, SfxItemPoolFlags::POOLABLE) || -- cgit v1.2.3