Removed more icore.h includes from header files

This commit is contained in:
Thorbjørn Lindeijer
2009-01-23 13:03:36 +01:00
parent 5d0e277bc3
commit 735e609e00
20 changed files with 43 additions and 36 deletions

View File

@@ -440,9 +440,9 @@ void CPPEditor::switchDeclarationDefinition()
return;
Function *f = lastSymbol->asFunction();
if (! f) {
if (!f) {
Scope *fs = lastSymbol->scope();
if (! fs->isFunctionScope())
if (!fs->isFunctionScope())
fs = fs->enclosingFunctionScope();
if (fs)
f = fs->owner()->asFunction();