From a1936ae4d72cd8695c0424a289ca9b91c363cbcf Mon Sep 17 00:00:00 2001 From: Bartosz Kosiorek Date: Tue, 19 Oct 2010 20:40:04 +0200 Subject: svarray: #i112395#: #i84159# new const: SFX_ITEMS_DEFAULT --- svl/source/items/poolio.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svl/source/items/poolio.cxx') diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx index a49f90ecde38..8bf8f2b2434b 100644 --- a/svl/source/items/poolio.cxx +++ b/svl/source/items/poolio.cxx @@ -1114,7 +1114,7 @@ const SfxPoolItem* SfxItemPool::LoadSurrogate if ( pTarget->IsInRange(rWhich) ) { // dflt-Attribut? - if ( SFX_ITEMS_STATICDEFAULT == nSurrogat ) + if ( SFX_ITEMS_DEFAULT == nSurrogat ) return *(pTarget->ppStaticDefaults + pTarget->GetIndex_Impl(rWhich)); @@ -1210,7 +1210,7 @@ sal_uInt32 SfxItemPool::GetSurrogate(const SfxPoolItem *pItem) const // Pointer auf static- oder pool-dflt-Attribut? if( IsStaticDefaultItem(pItem) || IsPoolDefaultItem(pItem) ) - return SFX_ITEMS_STATICDEFAULT; + return SFX_ITEMS_DEFAULT; SfxPoolItemArray_Impl* pItemArr = *(pImp->ppPoolItems + GetIndex_Impl(pItem->Which())); DBG_ASSERT(pItemArr, "ItemArr is not available"); -- cgit v1.2.3