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

Bug 317686 - Implement method error. Fixed issue with linked resources.

This commit is contained in:
Marc-Andre Laperle 2011-03-08 02:53:32 +00:00
parent 3b3f2e6ceb
commit c630261d21

View file

@ -74,7 +74,7 @@ public class NamespaceHelper {
}
private static boolean checkFileNameAndLocation(final IFile insertFile, final int offset, IASTNode namespace) {
boolean fileNameOk = namespace.getFileLocation().getFileName().endsWith(insertFile.getFullPath().toOSString());
boolean fileNameOk = namespace.getFileLocation().getFileName().endsWith(insertFile.getLocation().toOSString());
if(!fileNameOk) {
return false;
}