Skip to main content
summaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorSergey Prigogin2013-08-13 17:58:35 +0000
committerSergey Prigogin2013-08-14 16:33:49 +0000
commit83364b6df6f3d01e7d19e0626816a9b967ad6214 (patch)
treeb61be279cf676389b5b9512b1790d4901002e913 /debug
parent6effb24dc7f89beededaaacc58e8c3131aaab01c (diff)
downloadorg.eclipse.cdt-83364b6df6f3d01e7d19e0626816a9b967ad6214.tar.gz
org.eclipse.cdt-83364b6df6f3d01e7d19e0626816a9b967ad6214.tar.xz
org.eclipse.cdt-83364b6df6f3d01e7d19e0626816a9b967ad6214.zip
Avoid calling a deprecated method.
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/launch/CApplicationLaunchShortcut.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/launch/CApplicationLaunchShortcut.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/launch/CApplicationLaunchShortcut.java
index 51b48d31dc3..89962e29408 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/launch/CApplicationLaunchShortcut.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/launch/CApplicationLaunchShortcut.java
@@ -190,7 +190,7 @@ public class CApplicationLaunchShortcut implements ILaunchShortcut2 {
String projectName = bin.getResource().getProjectRelativePath().toString();
ILaunchConfigurationType configType = getCLaunchConfigType();
ILaunchConfigurationWorkingCopy wc =
- configType.newInstance(null, getLaunchManager().generateUniqueLaunchConfigurationNameFrom(bin.getElementName()));
+ configType.newInstance(null, getLaunchManager().generateLaunchConfigurationName(bin.getElementName()));
wc.setAttribute(ICDTLaunchConfigurationConstants.ATTR_PROGRAM_NAME, projectName);
wc.setAttribute(ICDTLaunchConfigurationConstants.ATTR_PROJECT_NAME, bin.getCProject().getElementName());
wc.setMappedResources(new IResource[] { bin.getResource().getProject() });

Back to the top