Changed the signature of findReferences()

This commit is contained in:
Roberto Raggi
2009-09-24 16:51:40 +02:00
parent e7b96347f1
commit 91a50a74f2
3 changed files with 20 additions and 16 deletions

View File

@@ -720,10 +720,8 @@ void CppModelManager::removeEditorSupport(AbstractEditorSupport *editorSupport)
void CppModelManager::findReferences(CPlusPlus::Symbol *symbol)
{
if (Identifier *id = symbol->identifier()) {
QString word = QString::fromLatin1(id->chars(), id->size());
m_findReferences->findAll(symbol->fileName(), word);
}
if (symbol->identifier())
m_findReferences->findAll(snapshot(), symbol);
}
QMap<QString, QString> CppModelManager::buildWorkingCopyList()