diff options
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 90a75fac1ffd..ecde96afe014 100644 --- a/svl/source/items/itempool.cxx +++ b/svl/source/items/itempool.cxx @@ -795,7 +795,7 @@ void SfxItemPool::Remove( const SfxPoolItem& rItem ) assert(rItem.GetRefCount() && "RefCount == 0, Remove impossible"); // Static Defaults are just there - if ( rItem.GetKind() == SFX_ITEMS_STATICDEFAULT && + if ( IsStaticDefaultItem(&rItem) && &rItem == *( pImpl->ppStaticDefaults + GetIndex_Impl(nWhich) ) ) return; |