Lines Matching refs:pAccel
55 sal_Bool ImplAccelManager::InsertAccel( Accelerator* pAccel ) in InsertAccel() argument
62 if ( mpAccelList->GetPos( pAccel ) != LIST_ENTRY_NOTFOUND ) in InsertAccel()
67 mpAccelList->Insert( pAccel, (sal_uLong)0 ); in InsertAccel()
74 void ImplAccelManager::RemoveAccel( Accelerator* pAccel ) in RemoveAccel() argument
86 for (sal_uInt16 i = 0; i < pAccel->GetItemCount(); ++i) in RemoveAccel()
88 Accelerator* pSubAccel = pAccel->GetAccel(pAccel->GetItemId(i)); in RemoveAccel()
98 mpAccelList->Remove( pAccel ); in RemoveAccel()
135 Accelerator* pAccel; in IsAccelKey() local
146 pAccel = mpSequenceList->GetObject( 0 ); in IsAccelKey()
147 DBG_CHKOBJ( pAccel, Accelerator, NULL ); in IsAccelKey()
150 if ( !pAccel ) in IsAccelKey()
158 ImplAccelEntry* pEntry = pAccel->ImplGetAccelData( rKeyCode ); in IsAccelKey()
185 pAccel->maCurKeyCode = rKeyCode; in IsAccelKey()
186 pAccel->mnCurId = pEntry->mnId; in IsAccelKey()
187 pAccel->mnCurRepeat = nRepeat; in IsAccelKey()
188 pAccel->mpDel = &bDel; in IsAccelKey()
189 pAccel->Select(); in IsAccelKey()
194 DBG_CHKOBJ( pAccel, Accelerator, NULL ); in IsAccelKey()
195 pAccel->maCurKeyCode = KeyCode(); in IsAccelKey()
196 pAccel->mnCurId = 0; in IsAccelKey()
197 pAccel->mnCurRepeat = 0; in IsAccelKey()
198 pAccel->mpDel = NULL; in IsAccelKey()
221 pAccel = mpAccelList->First(); in IsAccelKey()
222 while ( pAccel ) in IsAccelKey()
224 DBG_CHKOBJ( pAccel, Accelerator, NULL ); in IsAccelKey()
227 ImplAccelEntry* pEntry = pAccel->ImplGetAccelData( rKeyCode ); in IsAccelKey()
239 mpSequenceList->Insert( pAccel, (sal_uLong)0 ); in IsAccelKey()
253 pAccel->Activate(); in IsAccelKey()
254 pAccel->Deactivate(); in IsAccelKey()
259 pAccel->maCurKeyCode = rKeyCode; in IsAccelKey()
260 pAccel->mnCurId = pEntry->mnId; in IsAccelKey()
261 pAccel->mnCurRepeat = nRepeat; in IsAccelKey()
262 pAccel->mpDel = &bDel; in IsAccelKey()
263 pAccel->Select(); in IsAccelKey()
268 DBG_CHKOBJ( pAccel, Accelerator, NULL ); in IsAccelKey()
269 pAccel->maCurKeyCode = KeyCode(); in IsAccelKey()
270 pAccel->mnCurId = 0; in IsAccelKey()
271 pAccel->mnCurRepeat = 0; in IsAccelKey()
272 pAccel->mpDel = NULL; in IsAccelKey()
283 pAccel = mpAccelList->Next(); in IsAccelKey()