From 723d798813567c6907745ab0297f395dea43d691 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Mon, 18 Mar 2013 16:00:19 -0700 Subject: [PATCH] Bug 403458 - Organize includes inserts commented extra statements for includes that are actually used --- .../cdt/internal/ui/refactoring/includes/IncludeOrganizer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/includes/IncludeOrganizer.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/includes/IncludeOrganizer.java index 69121899d38..072a9b4a3b4 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/includes/IncludeOrganizer.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/includes/IncludeOrganizer.java @@ -239,7 +239,7 @@ public class IncludeOrganizer { String name = new String(include.getName().getSimpleID()); IncludeInfo includeInfo = new IncludeInfo(name, include.isSystemInclude()); String path = include.getPath(); - IPath header = path.isEmpty() ? null : Path.fromPortableString(path); + IPath header = path.isEmpty() ? null : Path.fromOSString(path); IncludeGroupStyle style = header != null ? getIncludeStyle(header) : getIncludeStyle(includeInfo); IncludePrototype prototype = new IncludePrototype(include, header, includeInfo, style);