Lines Matching refs:pItem
83 const SfxPoolItem *pItem = pSet->_aItems[n]; in DBG_NAME() local
84 if ( pItem ) in DBG_NAME()
87 DBG_ASSERT( IsInvalidItem(pItem) || in DBG_NAME()
88 pItem->Which() == 0 || pItem->Which() == nWh, in DBG_NAME()
90 DBG_ASSERT( IsInvalidItem(pItem) || !pItem->Which() || in DBG_NAME()
91 !SfxItemPool::IsWhich(pItem->Which()) || in DBG_NAME()
93 SFX_ITEMS_NULL != pSet->GetPool()->GetSurrogate(pItem), in DBG_NAME()
545 const SfxPoolItem *pItem = *ppFnd; in GetItemState() local
546 DBG_ASSERT( !pItem->ISA(SfxSetItem) || in GetItemState()
547 0 != &((const SfxSetItem*)pItem)->GetItemSet(), in GetItemState()
853 const SfxPoolItem *pItem = _aItems[nItem]; in SetRanges() local
854 if ( pItem && !IsInvalidItem(pItem) && pItem->Which() ) in SetRanges()
855 _pPool->Remove(*pItem); in SetRanges()
934 const SfxPoolItem* pItem; in Set() local
935 if( SFX_ITEM_SET == rSet.GetItemState( nWhich, sal_True, &pItem ) ) in Set()
936 bRet |= 0 != Put( *pItem, pItem->Which() ); in Set()
971 const SfxPoolItem *pItem = 0; in GetItem() local
972 SfxItemState eState = GetItemState( nWhich, bSrchInParent, &pItem ); in GetItem()
975 pItem = &_pPool->GetDefaultItem(nWhich); in GetItem()
976 if ( pItem ) in GetItem()
979 if ( !aItemType || pItem->IsA(aItemType) ) in GetItem()
980 return pItem; in GetItem()
1021 const SfxPoolItem *pItem = *ppFnd; in Get() local
1022 DBG_ASSERT( !pItem->ISA(SfxSetItem) || in Get()
1023 0 != &((const SfxSetItem*)pItem)->GetItemSet(), in Get()
1025 if ( pItem->ISA(SfxVoidItem) || !pItem->Which() ) in Get()
1043 const SfxPoolItem *pItem = &_pPool->GetDefaultItem( nWhich ); in Get() local
1044 DBG_ASSERT( !pItem->ISA(SfxSetItem) || in Get()
1045 0 != &((const SfxSetItem*)pItem)->GetItemSet(), in Get()
1047 return *pItem; in Get()
1138 const SfxPoolItem* pItem = aIter.GetCurItem(); in Intersect() local
1141 sal_uInt16 nWhich = IsInvalidItem( pItem ) in Intersect()
1143 : pItem->Which(); in Intersect()
1148 pItem = aIter.NextItem(); in Intersect()
1210 const SfxPoolItem* pItem = aIter.GetCurItem(); in Differentiate() local
1213 sal_uInt16 nWhich = IsInvalidItem( pItem ) in Differentiate()
1215 : pItem->Which(); in Differentiate()
1220 pItem = aIter.NextItem(); in Differentiate()
1413 const SfxPoolItem* pItem = 0; in MergeValues() local
1414 rSet.GetItemState( nWhich, sal_True, &pItem ); in MergeValues()
1415 if( !pItem ) in MergeValues()
1421 else if( IsInvalidItem( pItem ) ) in MergeValues()
1425 MergeValue( *pItem, bIgnoreDefaults ); in MergeValues()
1548 for ( const SfxPoolItem *pItem = aIter.FirstItem(); in Store() local
1549 pItem; in Store()
1550 pItem = aIter.NextItem() ) in Store()
1553 DBG_ASSERT( !IsInvalidItem(pItem), "can't store invalid items" ); in Store()
1554 if ( !IsInvalidItem(pItem) && in Store()
1555 _pPool->StoreItem( rStream, *pItem, bDirect ) ) in Store()
1618 const SfxPoolItem *pItem = in Load() local
1622 if ( pItem ) in Load()
1625 sal_uInt16 nWhich = pItem->Which(); in Load()
1636 *ppFnd = pItem; in Load()
1737 const SfxPoolItem* pItem; in Clone() local
1738 if ( SFX_ITEM_SET == GetItemState( nWhich, sal_False, &pItem ) ) in Clone()
1739 pNewSet->Put( *pItem, pItem->Which() ); in Clone()
2104 SfxPoolItem* pItem = *( _aItems + nPos );
2105 if( pItem )
2108 _pPool->Remove(*pItem );
2110 delete pItem;