Lines Matching refs:_nIndex

768 Any OInterfaceContainer::getByIndex(sal_Int32 _nIndex) throw( IndexOutOfBoundsException, WrappedTar…  in getByIndex()  argument
770 if (_nIndex < 0 || (_nIndex >= (sal_Int32)m_aItems.size())) in getByIndex()
773 return m_aItems[_nIndex]->queryInterface( m_aElementType ); in getByIndex()
823 void OInterfaceContainer::implInsert(sal_Int32 _nIndex, const Reference< XPropertySet >& _rxElement, in implInsert() argument
855 if (_nIndex > (sal_Int32)m_aItems.size()) // ermitteln des tatsaechlichen Indexs in implInsert()
857 _nIndex = m_aItems.size(); in implInsert()
861 m_aItems.insert( m_aItems.begin() + _nIndex, pElementMetaData->xInterface ); in implInsert()
871 m_xEventAttacher->insertEntry(_nIndex); in implInsert()
872 m_xEventAttacher->attach( _nIndex, pElementMetaData->xInterface, makeAny( _rxElement ) ); in implInsert()
898 impl_addVbEvents_nolck_nothrow( _nIndex ); in implInsert()
908 aEvt.Accessor <<= _nIndex; in implInsert()
958 void SAL_CALL OInterfaceContainer::insertByIndex( sal_Int32 _nIndex, const Any& _rElement ) throw(I… in insertByIndex() argument
962 …implInsert( _nIndex, xElement, sal_True /* event handling */ , NULL /* not yet approved */ , sal_T… in insertByIndex()
966 void OInterfaceContainer::implReplaceByIndex( const sal_Int32 _nIndex, const Any& _rNewElement, ::o… in implReplaceByIndex() argument
968 …OSL_PRECOND( ( _nIndex >= 0 ) && ( _nIndex < (sal_Int32)m_aItems.size() ), "OInterfaceContainer::i… in implReplaceByIndex()
980 InterfaceRef xOldElement( m_aItems[ _nIndex ] ); in implReplaceByIndex()
993 m_xEventAttacher->detach( _nIndex, xNormalized ); in implReplaceByIndex()
994 m_xEventAttacher->removeEntry( _nIndex ); in implReplaceByIndex()
1019 m_aItems[ _nIndex ] = aElementMetaData.get()->xInterface; in implReplaceByIndex()
1025 m_xEventAttacher->insertEntry( _nIndex ); in implReplaceByIndex()
1026 …m_xEventAttacher->attach( _nIndex, aElementMetaData.get()->xInterface, makeAny( aElementMetaData.g… in implReplaceByIndex()
1031 aReplaceEvent.Accessor <<= _nIndex; in implReplaceByIndex()
1039 void OInterfaceContainer::implCheckIndex( const sal_Int32 _nIndex ) SAL_THROW( ( ::com::sun::star::… in implCheckIndex() argument
1041 if (_nIndex < 0 || _nIndex >= (sal_Int32)m_aItems.size()) in implCheckIndex()
1046 void SAL_CALL OInterfaceContainer::replaceByIndex(sal_Int32 _nIndex, const Any& Element) throw( Ill… in replaceByIndex() argument
1050 implCheckIndex( _nIndex ); in replaceByIndex()
1052 implReplaceByIndex( _nIndex, Element, aGuard ); in replaceByIndex()
1056 void OInterfaceContainer::implRemoveByIndex( const sal_Int32 _nIndex, ::osl::ClearableMutexGuard& _… in implRemoveByIndex() argument
1058 …OSL_PRECOND( ( _nIndex >= 0 ) && ( _nIndex < (sal_Int32)m_aItems.size() ), "OInterfaceContainer::i… in implRemoveByIndex()
1060 OInterfaceArray::iterator i = m_aItems.begin() + _nIndex; in implRemoveByIndex()
1073 m_xEventAttacher->detach( _nIndex, xNormalized ); in implRemoveByIndex()
1074 m_xEventAttacher->removeEntry( _nIndex ); in implRemoveByIndex()
1092 aEvt.Accessor <<= _nIndex; in implRemoveByIndex()
1099 void SAL_CALL OInterfaceContainer::removeByIndex(sal_Int32 _nIndex) throw( IndexOutOfBoundsExceptio… in removeByIndex() argument
1103 implCheckIndex( _nIndex ); in removeByIndex()
1105 implRemoveByIndex( _nIndex, aGuard ); in removeByIndex()