Commit 52666cc1 authored by Joerg Bornemann's avatar Joerg Bornemann

CppEditor: fix typo

Change-Id: I86abdc7ec79c86e8007a3e994627ab0e51b3ff48
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent f8eae78f
...@@ -1415,7 +1415,7 @@ CPPEditorWidget::Link CPPEditorWidget::findLinkAt(const QTextCursor &cursor, boo ...@@ -1415,7 +1415,7 @@ CPPEditorWidget::Link CPPEditorWidget::findLinkAt(const QTextCursor &cursor, boo
const Snapshot &snapshot = m_modelManager->snapshot(); const Snapshot &snapshot = m_modelManager->snapshot();
// Try to macth decl/def. For this we need the semantic doc with the AST. // Try to match decl/def. For this we need the semantic doc with the AST.
if (m_lastSemanticInfo.doc if (m_lastSemanticInfo.doc
&& m_lastSemanticInfo.doc->translationUnit() && m_lastSemanticInfo.doc->translationUnit()
&& m_lastSemanticInfo.doc->translationUnit()->ast()) { && m_lastSemanticInfo.doc->translationUnit()->ast()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment