Lines Matching refs:rItem
505 const SfxPoolItem& rItem, /* IN: <SfxPoolItem>, dessen textuelle in GetPresentation() argument
530 return rItem.GetPresentation( in GetPresentation()
531 ePresent, GetMetric(rItem.Which()), eMetric, rText, pIntlWrapper ); in GetPresentation()
690 void SfxItemPool::SetPoolDefaultItem(const SfxPoolItem &rItem) in SetPoolDefaultItem() argument
693 if ( IsInRange(rItem.Which()) ) in SetPoolDefaultItem()
696 ppPoolDefaults + GetIndex_Impl(rItem.Which()); in SetPoolDefaultItem()
697 SfxPoolItem *pNewDefault = rItem.Clone(this); in SetPoolDefaultItem()
707 pSecondary->SetPoolDefaultItem(rItem); in SetPoolDefaultItem()
710 SFX_ASSERT( 0, rItem.Which(), "unknown Which-Id - cannot set pool default" ); in SetPoolDefaultItem()
741 const SfxPoolItem& SfxItemPool::Put( const SfxPoolItem& rItem, sal_uInt16 nWhich ) in Put() argument
743 DBG_ASSERT( !rItem.ISA(SfxSetItem) || in Put()
744 0 != &((const SfxSetItem&)rItem).GetItemSet(), in Put()
749 nWhich = rItem.Which(); in Put()
756 return pSecondary->Put( rItem, nWhich ); in Put()
765 SFX_ASSERT( USHRT_MAX != nIndex || rItem.Which() != nWhich || in Put()
766 !IsDefaultItem(&rItem) || rItem.GetKind() == SFX_ITEMS_DELETEONIDLE, in Put()
768 SfxPoolItem *pPoolItem = rItem.Clone(pMaster); in Put()
774 SFX_ASSERT( rItem.IsA(GetDefaultItem(nWhich).Type()), nWhich, in Put()
787 if ( IsPooledItem(&rItem) ) in Put()
791 if( &rItem == (*ppHtArray) ) in Put()
805 if( **ppHtArray == rItem ) in Put()
840 SfxPoolItem* pNewItem = rItem.Clone(pMaster); in Put()
843 SFX_ASSERT( rItem.Type() == pNewItem->Type(), nWhich, "unequal types in Put(): no Clone()?" ) in Put()
845 if ( !rItem.ISA(SfxSetItem) ) in Put()
848 rItem == *pNewItem, in Put()
851 *pNewItem == rItem, in Put()
870 void SfxItemPool::Remove( const SfxPoolItem& rItem ) in Remove() argument
874 DBG_ASSERT( !rItem.ISA(SfxSetItem) || in Remove()
875 0 != &((const SfxSetItem&)rItem).GetItemSet(), in Remove()
878 SFX_ASSERT( !IsPoolDefaultItem(&rItem), rItem.Which(), in Remove()
882 const sal_uInt16 nWhich = rItem.Which(); in Remove()
888 pSecondary->Remove( rItem ); in Remove()
899 !IsDefaultItem(&rItem), rItem.Which(), in Remove()
901 if ( 0 == ReleaseRef(rItem) ) in Remove()
903 SfxPoolItem *pItem = &(SfxPoolItem &)rItem; in Remove()
909 SFX_ASSERT( rItem.GetRefCount(), rItem.Which(), "RefCount == 0, Remove unmoeglich" ); in Remove()
912 if ( rItem.GetKind() == SFX_ITEMS_STATICDEFAULT && in Remove()
913 &rItem == *( ppStaticDefaults + GetIndex_Impl(nWhich) ) ) in Remove()
918 SFX_ASSERT( *ppItemArr, rItem.Which(), "removing Item not in Pool" ); in Remove()
921 if( *ppHtArr == &rItem ) in Remove()
927 SFX_ASSERT( 0, rItem.Which(), "removing Item without ref" ); in Remove()
944 SFX_ASSERT( 0, rItem.Which(), "removing Item not in Pool" ); in Remove()
945 SFX_TRACE( "to be removed, but not in pool: ", &rItem ); in Remove()