Lines Matching refs:nIdx

206 	sal_uInt16 nIdx = GetIndex( rShort );  in AddName()  local
207 if( nIdx != (sal_uInt16) -1 ) in AddName()
208 aNames.DeleteAndDestroy( nIdx ); in AddName()
515 sal_uInt16 nIdx = (sal_uInt16)-1; in Rename() local
518 pImp->nCur = nIdx; in Rename()
548 nIdx = pImp->GetIndex( aNew ); in Rename()
550 return nIdx; in Rename()
633 sal_uInt16 nIdx = (sal_uInt16)-1; in PutDoc() local
655 nIdx = pImp->nCur; in PutDoc()
657 return nIdx; in PutDoc()
663 sal_uInt16 nIdx = (sal_uInt16) -1; in PutText() local
683 nIdx = GetIndex( pImp->aShort ); in PutText()
684 if( nIdx != (sal_uInt16) -1 ) in PutText()
685 pImp->aNames[ nIdx ]->aLong = rName; in PutText()
689 nIdx = pImp->GetIndex( pImp->aShort ); in PutText()
701 return nIdx; in PutText()
732 sal_Bool SwTextBlocks::IsOnlyTextBlock( sal_uInt16 nIdx ) const in IsOnlyTextBlock()
737 SwBlockName* pBlkNm = pImp->aNames[ nIdx ]; in IsOnlyTextBlock()
752 sal_uInt16 nIdx = pImp->GetIndex( rShort ); in IsOnlyTextBlock() local
753 if( USHRT_MAX != nIdx ) in IsOnlyTextBlock()
755 if( pImp->aNames[ nIdx ]->bIsOnlyTxtFlagInit ) in IsOnlyTextBlock()
756 return pImp->aNames[ nIdx ]->bIsOnlyTxt; in IsOnlyTextBlock()
757 return IsOnlyTextBlock( nIdx ); in IsOnlyTextBlock()
764 sal_Bool SwTextBlocks::GetMacroTable( sal_uInt16 nIdx, SvxMacroTableDtor& rMacroTbl ) in GetMacroTable() argument
768 bRet = ( 0 == pImp->GetMacroTable( nIdx, rMacroTbl ) ); in GetMacroTable()
772 sal_Bool SwTextBlocks::SetMacroTable( sal_uInt16 nIdx, in SetMacroTable() argument
777 bRet = ( 0 == pImp->SetMacroTable( nIdx, rMacroTbl ) ); in SetMacroTable()