Lines Matching refs:ppFnd
334 SfxItemArray ppFnd = _aItems; in ~SfxItemSet() local
335 for( sal_uInt16 nCnt = nCount; nCnt; --nCnt, ++ppFnd ) in ~SfxItemSet()
336 if( *ppFnd && !IsInvalidItem(*ppFnd) ) in ~SfxItemSet()
338 if( !(*ppFnd)->Which() ) in ~SfxItemSet()
339 delete (SfxPoolItem*) *ppFnd; in ~SfxItemSet()
343 if ( 1 < (*ppFnd)->GetRefCount() && !IsDefaultItem(*ppFnd) ) in ~SfxItemSet()
344 (*ppFnd)->ReleaseRef(); in ~SfxItemSet()
346 if ( !IsDefaultItem(*ppFnd) ) in ~SfxItemSet()
348 _pPool->Remove( **ppFnd ); in ~SfxItemSet()
375 SfxItemArray ppFnd = _aItems; in ClearItem() local
386 ppFnd += nWhich - *pPtr; in ClearItem()
387 if( *ppFnd ) in ClearItem()
391 const SfxPoolItem *pItemToClear = *ppFnd; in ClearItem()
392 *ppFnd = 0; in ClearItem()
413 ppFnd += *(pPtr+1) - *pPtr + 1; in ClearItem()
424 for( nWhich = *pPtr; nWhich <= *(pPtr+1); ++nWhich, ++ppFnd ) in ClearItem()
425 if( *ppFnd ) in ClearItem()
429 const SfxPoolItem *pItemToClear = *ppFnd; in ClearItem()
430 *ppFnd = 0; in ClearItem()
470 SfxItemArray ppFnd = _aItems; in ClearInvalidItems() local
474 for ( sal_uInt16 nWhich = *pPtr; nWhich <= *(pPtr+1); ++nWhich, ++ppFnd ) in ClearInvalidItems()
475 if ( IsInvalidItem(*ppFnd) ) in ClearInvalidItems()
476 *ppFnd = &_pPool->Put( _pPool->GetDefaultItem(nWhich) ); in ClearInvalidItems()
482 for( sal_uInt16 nWhich = *pPtr; nWhich <= *(pPtr+1); ++nWhich, ++ppFnd ) in ClearInvalidItems()
483 if( IsInvalidItem(*ppFnd) ) in ClearInvalidItems()
485 *ppFnd = 0; in ClearInvalidItems()
517 SfxItemArray ppFnd = pAktSet->_aItems; in GetItemState() local
526 ppFnd += nWhich - *pPtr; in GetItemState()
527 if ( !*ppFnd ) in GetItemState()
535 if ( (SfxPoolItem*) -1 == *ppFnd ) in GetItemState()
539 if ( (*ppFnd)->Type() == TYPE(SfxVoidItem) ) in GetItemState()
545 const SfxPoolItem *pItem = *ppFnd; in GetItemState()
550 *ppItem = *ppFnd; in GetItemState()
554 ppFnd += *(pPtr+1) - *pPtr + 1; in GetItemState()
572 SfxItemArray ppFnd = _aItems; in Put() local
579 ppFnd += nWhich - *pPtr; in Put()
580 if( *ppFnd ) // schon einer vorhanden in Put()
583 if ( *ppFnd == &rItem ) in Put()
587 if ( rItem.Which() && ( IsInvalidItem(*ppFnd) || !(*ppFnd)->Which() ) ) in Put()
589 *ppFnd = &_pPool->Put( rItem, nWhich ); in Put()
591 return *ppFnd; in Put()
597 *ppFnd = rItem.Clone(_pPool); in Put()
604 if ( rItem == **ppFnd ) in Put()
609 const SfxPoolItem* pOld = *ppFnd; in Put()
610 *ppFnd = &rNew; in Put()
620 *ppFnd = rItem.Clone(_pPool); in Put()
623 *ppFnd = &rNew; in Put()
634 rItem.ISA(SfxSetItem) || **ppFnd == rItem, in Put()
638 return *ppFnd; in Put()
640 ppFnd += *(pPtr+1) - *pPtr + 1; in Put()
655 SfxItemArray ppFnd = rSet._aItems; in Put() local
659 for ( sal_uInt16 nWhich = *pPtr; nWhich <= *(pPtr+1); ++nWhich, ++ppFnd ) in Put()
660 if( *ppFnd ) in Put()
662 if ( IsInvalidItem( *ppFnd ) ) in Put()
672 bRet |= 0 != Put( **ppFnd, nWhich ); in Put()
710 SfxItemArray ppFnd = rSet._aItems; in PutExtended() local
714 for ( sal_uInt16 nWhich = *pPtr; nWhich <= *(pPtr+1); ++nWhich, ++ppFnd ) in PutExtended()
715 if( *ppFnd ) in PutExtended()
717 if ( IsInvalidItem( *ppFnd ) ) in PutExtended()
740 Put( **ppFnd, nWhich ); in PutExtended()
1003 SfxItemArray ppFnd = pAktSet->_aItems; in Get() local
1010 ppFnd += nWhich - *pPtr; in Get()
1011 if( *ppFnd ) in Get()
1013 if( (SfxPoolItem*)-1 == *ppFnd ) { in Get()
1021 const SfxPoolItem *pItem = *ppFnd; in Get()
1028 return **ppFnd; in Get()
1032 ppFnd += *(pPtr+1) - *pPtr + 1; in Get()
1436 SfxItemArray ppFnd = _aItems; in MergeValue() local
1444 ppFnd += nWhich - *pPtr; in MergeValue()
1445 MergeItem_Impl( _pPool, _nCount, ppFnd, &rAttr, bIgnoreDefaults ); in MergeValue()
1448 ppFnd += *(pPtr+1) - *pPtr + 1; in MergeValue()
1459 SfxItemArray ppFnd = _aItems; in InvalidateItem() local
1466 ppFnd += nWhich - *pPtr; in InvalidateItem()
1468 if( *ppFnd ) // bei mir gesetzt in InvalidateItem()
1470 if( (SfxPoolItem*)-1 != *ppFnd ) // noch nicht dontcare ! in InvalidateItem()
1472 _pPool->Remove( **ppFnd ); in InvalidateItem()
1473 *ppFnd = (SfxPoolItem*)-1; in InvalidateItem()
1478 *ppFnd = (SfxPoolItem*)-1; in InvalidateItem()
1483 ppFnd += *(pPtr+1) - *pPtr + 1; in InvalidateItem()
1626 SfxItemArray ppFnd = _aItems; in Load() local
1634 ppFnd += nWhich - *pPtr; in Load()
1635 SFX_ASSERT( !*ppFnd, nWhich, "Item doppelt eingetragen"); in Load()
1636 *ppFnd = pItem; in Load()
1642 ppFnd += *(pPtr+1) - *pPtr + 1; in Load()
1756 SfxItemArray ppFnd = _aItems; in PutDirect() local
1768 ppFnd += nWhich - *pPtr; in PutDirect()
1769 const SfxPoolItem* pOld = *ppFnd; in PutDirect()
1772 if( rItem == **ppFnd ) in PutDirect()
1781 *ppFnd = &_pPool->Put( rItem ); in PutDirect()
1784 *ppFnd = &rItem; in PutDirect()
1792 ppFnd += *(pPtr+1) - *pPtr + 1; in PutDirect()