Lines Matching refs:itr

296     RowsDataType::const_iterator itr = maRows.begin(), itrEnd = maRows.end();  in getAllRows()  local
297 for (; itr != itrEnd; ++itr) in getAllRows()
298 if (nLow <= itr->first && itr->first <= nHigh) in getAllRows()
299 aRows.push_back(itr->first); in getAllRows()
312 RowsDataType::const_iterator itr = maRows.begin(), itrEnd = maRows.end(); in getRowRange() local
313 aRange.first = itr->first; in getRowRange()
314 aRange.second = itr->first + 1; in getRowRange()
315 while( ++itr != itrEnd ) in getRowRange()
317 if( itr->first < aRange.first ) in getRowRange()
318 aRange.first = itr->first; in getRowRange()
319 else if( itr->first >= aRange.second ) in getRowRange()
320 aRange.second = itr->first + 1; in getRowRange()
359 RowDataType::const_iterator itr = rRowData.begin(), itrEnd = rRowData.end(); in getColRange() local
360 aRange.first = itr->first; in getColRange()
361 aRange.second = itr->first + 1; in getColRange()
362 while( ++itr != itrEnd ) in getColRange()
364 if( itr->first < aRange.first ) in getColRange()
365 aRange.first = itr->first; in getColRange()
366 else if( itr->first >= aRange.second ) in getColRange()
367 aRange.second = itr->first + 1; in getColRange()
490 NamePairMap::const_iterator itr = rDoc.maRealRangeNameMap.find( in getRealRangeName() local
492 if (itr == rDoc.maRealRangeNameMap.end()) in getRealRangeName()
496 return &itr->second; in getRealRangeName()
593 …for (vector<SCROW>::const_iterator itr = aRows.begin(), itrEnd = aRows.end(); itr != itrEnd; ++itr) in getCellRangeData()
595 SCROW nRow = *itr; in getCellRangeData()
684 RangeNameMap::const_iterator itr = rMap.find( in getRangeNameTokens() local
686 if (itr == rMap.end()) in getRangeNameTokens()
689 return itr->second; in getRangeNameTokens()
810 ScExternalRefCache::TableNameIndexMap::const_iterator itr = rMap.find(rName); in lcl_getTableDataIndex() local
811 if (itr == rMap.end()) in lcl_getTableDataIndex()
814 rIndex = itr->second; in lcl_getTableDataIndex()
831 for (vector<String>::const_iterator itr = rTabNames.begin(), itrEnd = rTabNames.end(); in initializeDoc() local
832 itr != itrEnd; ++itr) in initializeDoc()
834 TableName aNameItem(ScGlobal::pCharClass->upper(*itr), *itr); in initializeDoc()
878 …for (vector<TableName>::const_iterator itr = pDoc->maTableNames.begin(), itrEnd = pDoc->maTableNam… in getAllTableNames() local
879 itr != itrEnd; ++itr) in getAllTableNames()
880 rTabNames.push_back(itr->maRealName); in getAllTableNames()
1132 for (DocReferencedVec::const_iterator itr = maDocs.begin(); itr != maDocs.end(); ++itr) in checkAllDocs() local
1134 if (!(*itr).mbAllTablesReferenced) in checkAllDocs()
1565 for (LinkListenerMap::const_iterator itr = maLinkListeners.begin(); in markUsedByLinkListeners() local
1566 itr != maLinkListeners.end() && !bAllMarked; ++itr) in markUsedByLinkListeners()
1568 if (!(*itr).second.empty()) in markUsedByLinkListeners()
1569 bAllMarked = maRefCache.setCacheDocReferenced( (*itr).first); in markUsedByLinkListeners()
1579 RefCellMap::iterator itr = maRefCells.begin(), itrEnd = maRefCells.end(); in markUsedExternalRefCells() local
1580 for (; itr != itrEnd; ++itr) in markUsedExternalRefCells()
1582 RefCellSet::iterator itrCell = itr->second.begin(), itrCellEnd = itr->second.end(); in markUsedExternalRefCells()
1898 RefCellMap::iterator itr = maRefCells.find(nFileId); in insertRefCell() local
1899 if (itr == maRefCells.end()) in insertRefCell()
1908 itr = r.first; in insertRefCell()
1913 itr->second.insert(static_cast<ScFormulaCell*>(pCell)); in insertRefCell()
1922 DocShellMap::iterator itr = maDocShells.find(nFileId); in getSrcDocument() local
1924 if (itr != itrEnd) in getSrcDocument()
1932 SfxObjectShell* p = itr->second.maShell; in getSrcDocument()
1933 itr->second.maLastAccess = Time(); in getSrcDocument()
2169 vector<SrcFileData>::const_iterator itr = find_if(itrBeg, itrEnd, FindSrcFileByName(rFile)); in getExternalFileId() local
2170 if (itr != itrEnd) in getExternalFileId()
2172 size_t nId = distance(itrBeg, itr); in getExternalFileId()
2206 vector<SrcFileData>::const_iterator itr = find_if(itrBeg, itrEnd, FindSrcFileByName(rFile)); in hasExternalFile() local
2207 return itr != itrEnd; in hasExternalFile()
2231 typename MapContainer::iterator itr = rMap.find(nFileId); in lcl_removeByFileId() local
2232 if (itr != rMap.end()) in lcl_removeByFileId()
2233 rMap.erase(itr); in lcl_removeByFileId()
2269 LinkedDocMap::iterator itr = maLinkedDocs.find(nFileId); in breakLink() local
2270 if (itr != maLinkedDocs.end()) in breakLink()
2271 itr->second = false; in breakLink()
2308 for (DocShellMap::iterator itr = maDocShells.begin(); itr != itrEnd; ++itr) in clear() local
2309 itr->second.maShell->DoClose(); in clear()
2322 for (vector<SrcFileData>::iterator itr = maSrcFiles.begin(), itrEnd = maSrcFiles.end(); in resetSrcFileData() local
2323 itr != itrEnd; ++itr) in resetSrcFileData()
2326 String aAbsName = itr->maRealFileName; in resetSrcFileData()
2328 aAbsName = itr->maFileName; in resetSrcFileData()
2330 itr->maRelativeName = URIHelper::simpleNormalizedMakeRelative( in resetSrcFileData()
2338 for (vector<SrcFileData>::iterator itr = maSrcFiles.begin(), itrEnd = maSrcFiles.end(); in updateAbsAfterLoad() local
2339 itr != itrEnd; ++itr) in updateAbsAfterLoad()
2344 itr->maybeCreateRealFileName( aOwn ); in updateAbsAfterLoad()
2345 String aReal = itr->maRealFileName; in updateAbsAfterLoad()
2347 itr->maFileName = aReal; in updateAbsAfterLoad()
2358 LinkListenerMap::iterator itr = maLinkListeners.find(nFileId); in addLinkListener() local
2359 if (itr == maLinkListeners.end()) in addLinkListener()
2369 itr = r.first; in addLinkListener()
2372 LinkListeners& rList = itr->second; in addLinkListener()
2378 LinkListenerMap::iterator itr = maLinkListeners.find(nFileId); in removeLinkListener() local
2379 if (itr == maLinkListeners.end()) in removeLinkListener()
2383 LinkListeners& rList = itr->second; in removeLinkListener()
2388 maLinkListeners.erase(itr); in removeLinkListener()
2393 LinkListenerMap::iterator itr = maLinkListeners.begin(), itrEnd = maLinkListeners.end(); in removeLinkListener() local
2394 for (; itr != itrEnd; ++itr) in removeLinkListener()
2395 itr->second.erase(pListener); in removeLinkListener()
2400 LinkListenerMap::iterator itr = maLinkListeners.find(nFileId); in notifyAllLinkListeners() local
2401 if (itr == maLinkListeners.end()) in notifyAllLinkListeners()
2405 LinkListeners& rList = itr->second; in notifyAllLinkListeners()
2412 DocShellMap::iterator itr = maDocShells.begin(), itrEnd = maDocShells.end(); in purgeStaleSrcDocument() local
2413 for (; itr != itrEnd; ++itr) in purgeStaleSrcDocument()
2416 sal_Int32 nSinceLastAccess = (Time() - itr->second.maLastAccess).GetTime(); in purgeStaleSrcDocument()
2418 aNewDocShells.insert(*itr); in purgeStaleSrcDocument()
2428 NumFmtMap::iterator itr = maNumFormatMap.find(nFileId); in getMappedNumberFormat() local
2429 if (itr == maNumFormatMap.end()) in getMappedNumberFormat()
2439 itr = r.first; in getMappedNumberFormat()
2442 itr->second.swap(aMap); in getMappedNumberFormat()
2444 const SvNumberFormatterMergeMap& rMap = itr->second; in getMappedNumberFormat()