Lines Matching refs:nIndex

159 	virtual void SAL_CALL detach(sal_Int32 nIndex, const Reference< XInterface >& xObject)
521 sal_Int32 nIndex, in registerScriptEvent() argument
529 ::std::deque<AttacherIndex_Impl>::iterator aIt = implCheckIndex( nIndex ); in registerScriptEvent()
574 sal_Int32 nIndex, in registerScriptEvents() argument
582 ::std::deque<AttacherIndex_Impl>::iterator aIt = implCheckIndex( nIndex ); in registerScriptEvents()
585 detachAll_Impl( this, nIndex, aList ); in registerScriptEvents()
590 registerScriptEvent( nIndex, pArray[ i ] ); in registerScriptEvents()
592 attachAll_Impl( this, nIndex, aList ); in registerScriptEvents()
598 sal_Int32 nIndex, in revokeScriptEvent() argument
607 ::std::deque<AttacherIndex_Impl>::iterator aIt = implCheckIndex( nIndex ); in revokeScriptEvent()
610 detachAll_Impl( this, nIndex, aList ); in revokeScriptEvent()
656 attachAll_Impl( this, nIndex, aList ); in revokeScriptEvent()
660 void SAL_CALL ImplEventAttacherManager::revokeScriptEvents(sal_Int32 nIndex ) in revokeScriptEvents() argument
664 ::std::deque<AttacherIndex_Impl>::iterator aIt = implCheckIndex( nIndex ); in revokeScriptEvents()
667 detachAll_Impl( this, nIndex, aList ); in revokeScriptEvents()
673 attachAll_Impl( this, nIndex, aList ); in revokeScriptEvents()
677 void SAL_CALL ImplEventAttacherManager::insertEntry(sal_Int32 nIndex) in insertEntry() argument
681 if( nIndex < 0 ) in insertEntry()
688 if ( static_cast< ::std::deque< AttacherIndex_Impl >::size_type>(nIndex) >= aIndex.size() ) in insertEntry()
689 aIndex.resize(nIndex+1); in insertEntry()
692 aIndex.insert( aIndex.begin() + nIndex, aTmp ); in insertEntry()
696 void SAL_CALL ImplEventAttacherManager::removeEntry(sal_Int32 nIndex) in removeEntry() argument
700 ::std::deque<AttacherIndex_Impl>::iterator aIt = implCheckIndex( nIndex ); in removeEntry()
703 detachAll_Impl( this, nIndex, aList ); in removeEntry()
708 …uence< ScriptEventDescriptor > SAL_CALL ImplEventAttacherManager::getScriptEvents(sal_Int32 nIndex) in getScriptEvents() argument
712 ::std::deque<AttacherIndex_Impl>::iterator aIt = implCheckIndex( nIndex ); in getScriptEvents()
733 void SAL_CALL ImplEventAttacherManager::attach(sal_Int32 nIndex, const Reference< XInterface >& xOb… in attach() argument
737 if( nIndex < 0 || !xObject.is() ) in attach()
740 if( static_cast< ::std::deque< AttacherIndex_Impl >::size_type>(nIndex) >= aIndex.size() ) in attach()
745 insertEntry( nIndex ); in attach()
746 attach( nIndex, xObject, Helper ); in attach()
753 ::std::deque< AttacherIndex_Impl >::iterator aCurrentPosition = aIndex.begin() + nIndex; in attach()
815 void SAL_CALL ImplEventAttacherManager::detach(sal_Int32 nIndex, const Reference< XInterface >& xOb… in detach() argument
820 …if( nIndex < 0 || static_cast< ::std::deque< AttacherIndex_Impl >::size_type>(nIndex) >= aIndex.si… in detach()
823 ::std::deque< AttacherIndex_Impl >::iterator aCurrentPosition = aIndex.begin() + nIndex; in detach()