Renamed CppRefactoringChanges::parsedDocumentForFile().

This commit is contained in:
Roberto Raggi
2010-06-22 10:36:28 +02:00
parent eb749ec3a2
commit 27f6b2ceb5
5 changed files with 16 additions and 20 deletions

View File

@@ -933,8 +933,7 @@ int CppQuickFixOperation::match(TextEditor::QuickFixState *state)
_document = s->info.doc;
if (_refactoringChanges)
delete _refactoringChanges;
CPPEditor *cppEditor = qobject_cast<CPPEditor*>(editor());
_refactoringChanges = new CppRefactoringChanges(s->info.snapshot, cppEditor->modelManager());
_refactoringChanges = new CppRefactoringChanges(s->info.snapshot);
return match(s->path);
}