Fixed QTCREATORBUG-743

This commit is contained in:
Erik Verbruggen
2010-02-22 17:34:06 +01:00
parent 7669a36bf0
commit 2fee6b8a46

View File

@@ -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()) {