diff options
author | Bartosz Kosiorek <gang65@openoffice.org> | 2010-10-19 20:40:04 +0200 |
---|---|---|
committer | Bartosz Kosiorek <gang65@openoffice.org> | 2010-10-19 20:40:04 +0200 |
commit | a1936ae4d72cd8695c0424a289ca9b91c363cbcf (patch) | |
tree | fcef7933881a0fdc0ec8b777fca735c12aaed55a /svl/source/items/poolio.cxx | |
parent | 20b24c6bc448de513dc8adb4b5c1de6c8e4f0cfd (diff) |
svarray: #i112395#: #i84159# new const: SFX_ITEMS_DEFAULT
Diffstat (limited to 'svl/source/items/poolio.cxx')
-rw-r--r-- | svl/source/items/poolio.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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"); |