CppEditor: Compile fix for MSVC

Change-Id: I07f94584b876a41988f3e9d37c3b6db16738c05f
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
This commit is contained in:
Nikolai Kosjar
2015-01-14 13:30:48 +01:00
committed by Erik Verbruggen
parent 4d3d0e0290
commit 59a604901c

View File

@@ -1362,7 +1362,7 @@ void CppCodeModelInspectorDialog::refresh()
dumper.dumpSnapshot(globalSnapshot, globalSnapshotTitle, /*isGlobalSnapshot=*/ true);
TextEditor::BaseTextEditor *editor = currentEditor();
CppEditorDocumentHandle *cppEditorDocument = 0;
CppTools::CppEditorDocumentHandle *cppEditorDocument = 0;
if (editor) {
const QString editorFilePath = editor->document()->filePath().toString();
cppEditorDocument = cmmi->cppEditorDocument(editorFilePath);