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()
1564 for (LinkListenerMap::const_iterator itr = maLinkListeners.begin(); in markUsedByLinkListeners() local
1565 itr != maLinkListeners.end() && !bAllMarked; ++itr) in markUsedByLinkListeners()
1567 if (!(*itr).second.empty()) in markUsedByLinkListeners()
1568 bAllMarked = maRefCache.setCacheDocReferenced( (*itr).first); in markUsedByLinkListeners()
1578 RefCellMap::iterator itr = maRefCells.begin(), itrEnd = maRefCells.end(); in markUsedExternalRefCells() local
1579 for (; itr != itrEnd; ++itr) in markUsedExternalRefCells()
1581 RefCellSet::iterator itrCell = itr->second.begin(), itrCellEnd = itr->second.end(); in markUsedExternalRefCells()
1897 RefCellMap::iterator itr = maRefCells.find(nFileId); in insertRefCell() local
1898 if (itr == maRefCells.end()) in insertRefCell()
1907 itr = r.first; in insertRefCell()
1912 itr->second.insert(static_cast<ScFormulaCell*>(pCell)); in insertRefCell()
1921 DocShellMap::iterator itr = maDocShells.find(nFileId); in getSrcDocument() local
1923 if (itr != itrEnd) in getSrcDocument()
1931 SfxObjectShell* p = itr->second.maShell; in getSrcDocument()
1932 itr->second.maLastAccess = Time(); in getSrcDocument()
2168 vector<SrcFileData>::const_iterator itr = find_if(itrBeg, itrEnd, FindSrcFileByName(rFile)); in getExternalFileId() local
2169 if (itr != itrEnd) in getExternalFileId()
2171 size_t nId = distance(itrBeg, itr); in getExternalFileId()
2205 vector<SrcFileData>::const_iterator itr = find_if(itrBeg, itrEnd, FindSrcFileByName(rFile)); in hasExternalFile() local
2206 return itr != itrEnd; in hasExternalFile()
2230 typename MapContainer::iterator itr = rMap.find(nFileId); in lcl_removeByFileId() local
2231 if (itr != rMap.end()) in lcl_removeByFileId()
2232 rMap.erase(itr); in lcl_removeByFileId()
2268 LinkedDocMap::iterator itr = maLinkedDocs.find(nFileId); in breakLink() local
2269 if (itr != maLinkedDocs.end()) in breakLink()
2270 itr->second = false; in breakLink()
2307 for (DocShellMap::iterator itr = maDocShells.begin(); itr != itrEnd; ++itr) in clear() local
2308 itr->second.maShell->DoClose(); in clear()
2321 for (vector<SrcFileData>::iterator itr = maSrcFiles.begin(), itrEnd = maSrcFiles.end(); in resetSrcFileData() local
2322 itr != itrEnd; ++itr) in resetSrcFileData()
2325 String aAbsName = itr->maRealFileName; in resetSrcFileData()
2327 aAbsName = itr->maFileName; in resetSrcFileData()
2329 itr->maRelativeName = URIHelper::simpleNormalizedMakeRelative( in resetSrcFileData()
2337 for (vector<SrcFileData>::iterator itr = maSrcFiles.begin(), itrEnd = maSrcFiles.end(); in updateAbsAfterLoad() local
2338 itr != itrEnd; ++itr) in updateAbsAfterLoad()
2343 itr->maybeCreateRealFileName( aOwn ); in updateAbsAfterLoad()
2344 String aReal = itr->maRealFileName; in updateAbsAfterLoad()
2346 itr->maFileName = aReal; in updateAbsAfterLoad()
2357 LinkListenerMap::iterator itr = maLinkListeners.find(nFileId); in addLinkListener() local
2358 if (itr == maLinkListeners.end()) in addLinkListener()
2368 itr = r.first; in addLinkListener()
2371 LinkListeners& rList = itr->second; in addLinkListener()
2377 LinkListenerMap::iterator itr = maLinkListeners.find(nFileId); in removeLinkListener() local
2378 if (itr == maLinkListeners.end()) in removeLinkListener()
2382 LinkListeners& rList = itr->second; in removeLinkListener()
2387 maLinkListeners.erase(itr); in removeLinkListener()
2392 LinkListenerMap::iterator itr = maLinkListeners.begin(), itrEnd = maLinkListeners.end(); in removeLinkListener() local
2393 for (; itr != itrEnd; ++itr) in removeLinkListener()
2394 itr->second.erase(pListener); in removeLinkListener()
2399 LinkListenerMap::iterator itr = maLinkListeners.find(nFileId); in notifyAllLinkListeners() local
2400 if (itr == maLinkListeners.end()) in notifyAllLinkListeners()
2404 LinkListeners& rList = itr->second; in notifyAllLinkListeners()
2411 DocShellMap::iterator itr = maDocShells.begin(), itrEnd = maDocShells.end(); in purgeStaleSrcDocument() local
2412 for (; itr != itrEnd; ++itr) in purgeStaleSrcDocument()
2415 sal_Int32 nSinceLastAccess = (Time() - itr->second.maLastAccess).GetTime(); in purgeStaleSrcDocument()
2417 aNewDocShells.insert(*itr); in purgeStaleSrcDocument()
2427 NumFmtMap::iterator itr = maNumFormatMap.find(nFileId); in getMappedNumberFormat() local
2428 if (itr == maNumFormatMap.end()) in getMappedNumberFormat()
2438 itr = r.first; in getMappedNumberFormat()
2441 itr->second.swap(aMap); in getMappedNumberFormat()
2443 const SvNumberFormatterMergeMap& rMap = itr->second; in getMappedNumberFormat()