Lines Matching refs:nIndex
490 sal_Int16 nIndex = 0; in getIndex() local
491 while ( (mpSupportedMacroItems[nIndex].mnEvent != nID) && in getIndex()
492 (mpSupportedMacroItems[nIndex].mnEvent != 0) ) in getIndex()
494 nIndex++; in getIndex()
496 return (mpSupportedMacroItems[nIndex].mnEvent == nID) ? nIndex : -1; in getIndex()
515 sal_Int16 nIndex = getIndex(nEvent); in replaceByName() local
516 if (-1 == nIndex) in replaceByName()
519 aMacros[nIndex] = new SvxMacro(rMacro.GetMacName(), rMacro.GetLibName(), in replaceByName()
532 sal_Int16 nIndex = getIndex(nEvent); in getByName() local
533 if (-1 == nIndex ) in getByName()
536 if( aMacros[nIndex] ) in getByName()
537 rMacro = (*aMacros[nIndex]); in getByName()
544 sal_Int16 nIndex = getIndex(nEvent); in hasByName() local
545 if (-1 == nIndex) in hasByName()
548 return (NULL == aMacros[nIndex]) ? sal_False : aMacros[nIndex]->HasMacro(); in hasByName()