From 350c4a4ce6cf747027fe5db62d42e25c69b69880 Mon Sep 17 00:00:00 2001 From: David Inglis Date: Mon, 18 Aug 2003 16:01:01 +0000 Subject: [PATCH] *** empty log message *** --- .../cdt/make/internal/ui/properties/MakePropertyPage.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/properties/MakePropertyPage.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/properties/MakePropertyPage.java index 88ab1b9db66..7d4f724d674 100644 --- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/properties/MakePropertyPage.java +++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/properties/MakePropertyPage.java @@ -24,7 +24,6 @@ import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Label; -import org.eclipse.swt.widgets.Shell; import org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation; import org.eclipse.ui.dialogs.PropertyPage; @@ -71,7 +70,6 @@ public class MakePropertyPage extends PropertyPage implements ICOptionContainer * @see PreferencePage#performOk */ public boolean performOk() { - Shell shell = getControl().getShell(); IRunnableWithProgress runnable = new IRunnableWithProgress() { public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException { fOptionBlock.performApply(monitor); @@ -79,9 +77,8 @@ public class MakePropertyPage extends PropertyPage implements ICOptionContainer }; IRunnableWithProgress op = new WorkspaceModifyDelegatingOperation(runnable); try { - new ProgressMonitorDialog(shell).run(false, true, op); + new ProgressMonitorDialog(getShell()).run(false, true, op); } catch (InvocationTargetException e) { - // dinglis-TODO show/log errors return false; } catch (InterruptedException e) { // cancelled