Lines Matching refs:pIter

161 	SfxSlot* pIter = pSlots;  in SetSlotMap()  local
162 if ( 1 == nCount && !pIter->pNextSlot ) in SetSlotMap()
163 pIter->pNextSlot = pIter; in SetSlotMap()
165 if ( !pIter->pNextSlot ) in SetSlotMap()
172 for ( pIter = pSlots; nIter <= nCount; ++pIter, ++nIter ) in SetSlotMap()
179 pIter->GetSlotId() != (pIter+1)->GetSlotId(), in SetSlotMap()
185 if ( pIter->GetKind() == SFX_KIND_ENUM ) in SetSlotMap()
187 pIter->pLinkedSlot = GetSlot( pIter->nMasterSlotId ); in SetSlotMap()
188 DBG_ASSERT( pIter->pLinkedSlot, "slave without master" ); in SetSlotMap()
189 if ( !pIter->pLinkedSlot->pLinkedSlot ) in SetSlotMap()
190 ( (SfxSlot*) pIter->pLinkedSlot)->pLinkedSlot = pIter; in SetSlotMap()
192 if ( 0 == pIter->GetNextSlot() ) in SetSlotMap()
194 SfxSlot *pLastSlot = pIter; in SetSlotMap()
198 if ( pCurSlot->nMasterSlotId == pIter->nMasterSlotId ) in SetSlotMap()
204 pLastSlot->pNextSlot = pIter; in SetSlotMap()
207 else if ( 0 == pIter->GetNextSlot() ) in SetSlotMap()
210 SfxSlot *pLastSlot = pIter; in SetSlotMap()
214 if ( pCurSlot->GetStateFnc() == pIter->GetStateFnc() ) in SetSlotMap()
220 pLastSlot->pNextSlot = pIter; in SetSlotMap()
228 for ( SfxSlot *pNext = pIter+1; nIter < nCount; ++pNext, ++nIter ) in SetSlotMap()
231 if ( pNext->GetSlotId() <= pIter->GetSlotId() ) in SetSlotMap()
234 if ( pIter->GetKind() == SFX_KIND_ENUM ) in SetSlotMap()
236 const SfxSlot *pMasterSlot = GetSlot(pIter->nMasterSlotId); in SetSlotMap()
265 if ( pIter->pLinkedSlot ) in SetSlotMap()
267 if ( pIter->pLinkedSlot->GetKind() != SFX_KIND_ENUM ) in SetSlotMap()
270 aStr += ByteString::CreateFromInt32(pIter->GetSlotId()); in SetSlotMap()
272 aStr += ByteString::CreateFromInt32(pIter->pLinkedSlot->GetSlotId()); in SetSlotMap()
277 const SfxSlot *pCurSlot = pIter; in SetSlotMap()
281 if ( pCurSlot->GetStateFnc() != pIter->GetStateFnc() ) in SetSlotMap()
286 aStr += ByteString::CreateFromInt32(pIter->GetSlotId()); in SetSlotMap()
290 while ( pCurSlot != pIter ); in SetSlotMap()
293 pIter = pNext; in SetSlotMap()