1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-25 09:13:48 +02:00

Bug 403409. Organize Includes throws IllegalStateException

This commit is contained in:
Sergey Prigogin 2013-03-14 22:50:57 -07:00
parent 48c9cc0b73
commit 41522141d9

View file

@ -965,6 +965,7 @@ public class IncludeOrganizer {
break;
}
}
if (!request.isResolved()) {
IPath header = fHeaderChooser.chooseHeader(request.getBinding().getName(), candidatePaths);
if (header == null)
throw new OperationCanceledException();
@ -975,6 +976,7 @@ public class IncludeOrganizer {
}
}
}
}
private IPath getPath(IIndexFileLocation location) {
return IndexLocationFactory.getAbsolutePath(location);