summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2010-02-22 17:34:06 +0100
committerErik Verbruggen <erik.verbruggen@nokia.com>2010-02-22 17:34:06 +0100
commit2fee6b8a467b21bfcf6d0f14a1a93398364eb375 (patch)
tree1c4dedca07f1d159f6774545e8e98947bbc657b2
parent7669a36bf0eb82b597dcc87f474a6d68d87f6fba (diff)
downloadqt-creator-2fee6b8a467b21bfcf6d0f14a1a93398364eb375.tar.gz
Fixed QTCREATORBUG-743
-rw-r--r--src/plugins/cpptools/cppcodecompletion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppcodecompletion.cpp b/src/plugins/cpptools/cppcodecompletion.cpp
index 3d7cbebf9d..008227b191 100644
--- a/src/plugins/cpptools/cppcodecompletion.cpp
+++ b/src/plugins/cpptools/cppcodecompletion.cpp
@@ -827,7 +827,7 @@ int CppCodeCompletion::startCompletionInternal(TextEditor::BaseTextEditor *edit,
}
- QList<LookupItem> results = typeOfExpression(expression, thisDocument, lastVisibleSymbol);
+ QList<LookupItem> results = typeOfExpression(expression, thisDocument, lastVisibleSymbol, TypeOfExpression::Preprocess);
LookupContext context = typeOfExpression.lookupContext();
if (results.isEmpty()) {