diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/viewsupport/CElementLabels.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/viewsupport/CElementLabels.java index 19ac8015f6b..5fd3b101d10 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/viewsupport/CElementLabels.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/viewsupport/CElementLabels.java @@ -419,9 +419,9 @@ public class CElementLabels { if (rootQualified) { buf.append(container.getPath().makeRelative().toString()); } else { - if (resource != null) - buf.append(resource.getProjectRelativePath().toString()); - else +// if (resource != null) +// buf.append(resource.getProjectRelativePath().toString()); +// else buf.append(container.getElementName()); if (referencedQualified) { buf.append(CONCAT_STRING);