Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVivian Kong2012-09-05 11:01:07 -0400
committerVivian Kong2012-09-05 11:01:07 -0400
commit4ce4cf3dc53a0bf09af97e221dd0329a28edd151 (patch)
tree0ef5f4e790853e63c36adb6a0b11fe16c69ec7b8
parent6182eb107f0f7e5ca58c5fe6117bfd0f7ff4fc8f (diff)
downloadorg.eclipse.cdt-4ce4cf3dc53a0bf09af97e221dd0329a28edd151.tar.gz
org.eclipse.cdt-4ce4cf3dc53a0bf09af97e221dd0329a28edd151.tar.xz
org.eclipse.cdt-4ce4cf3dc53a0bf09af97e221dd0329a28edd151.zip
Bug 387193 - TVT/DVT3.8:TCT100: ARA: Incorrect mirrorred strings
occurred on UPC options page of bupc properties on Linux
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/BuildOptionSettingsUI.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/BuildOptionSettingsUI.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/BuildOptionSettingsUI.java
index d082e0c696..917c2c8201 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/BuildOptionSettingsUI.java
+++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/BuildOptionSettingsUI.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2003, 2011 IBM Corporation and others.
+ * Copyright (c) 2003, 2012 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -71,7 +71,6 @@ import org.eclipse.jface.viewers.SelectionChangedEvent;
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.window.Window;
-import org.eclipse.osgi.util.TextProcessor;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
@@ -269,8 +268,8 @@ public class BuildOptionSettingsUI extends AbstractToolSettingUI {
if (applicabilityCalculator == null || applicabilityCalculator.isOptionVisible(config, holder, opt)) {
String optId = getToolSettingsPrefStore().getOptionId(opt);
- final String nameStr = TextProcessor.process(opt.getName());
- String tipStr = TextProcessor.process(opt.getToolTip());
+ final String nameStr = opt.getName();
+ String tipStr = opt.getToolTip();
String contextId = opt.getContextId();
if (pageHasToolTipBox && (tipStr==null || tipStr.trim().length()==0)) {
@@ -924,7 +923,7 @@ public class BuildOptionSettingsUI extends AbstractToolSettingUI {
IHoldsOptions holder = (IHoldsOptions)options[index][0];
if (holder == null) break; // The array may not be full
IOption opt = (IOption)options[index][1];
- String tipStr = TextProcessor.process(opt.getToolTip());
+ String tipStr = opt.getToolTip();
// check to see if the option has an applicability calculator
IOptionApplicability applicabilityCalculator = opt.getApplicabilityCalculator();

Back to the top