forked from qt-creator/qt-creator
Rename IFile->IDocument and FileManager->DocumentManager
And adapt the other API respectively. Change-Id: I1e04e555409be09242db6890f9e013396f83aeed Reviewed-by: Bill King <bill.king@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
|
||||
#include "cppelementevaluator.h"
|
||||
|
||||
#include <coreplugin/ifile.h>
|
||||
#include <coreplugin/idocument.h>
|
||||
#include <cpptools/cpptoolsreuse.h>
|
||||
|
||||
#include <FullySpecifiedType.h>
|
||||
@@ -100,7 +100,7 @@ void CppElementEvaluator::execute()
|
||||
return;
|
||||
|
||||
const Snapshot &snapshot = m_modelManager->snapshot();
|
||||
Document::Ptr doc = snapshot.document(m_editor->file()->fileName());
|
||||
Document::Ptr doc = snapshot.document(m_editor->editorDocument()->fileName());
|
||||
if (!doc)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user