summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wizards/com/sun/star/wizards/ui/WizardDialog.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/wizards/com/sun/star/wizards/ui/WizardDialog.java b/wizards/com/sun/star/wizards/ui/WizardDialog.java
index 081b9a36e59e..523673ab5a5b 100644
--- a/wizards/com/sun/star/wizards/ui/WizardDialog.java
+++ b/wizards/com/sun/star/wizards/ui/WizardDialog.java
@@ -461,15 +461,6 @@ public abstract class WizardDialog extends UnoDialog2 implements VetoableChangeL
});
setControlProperty("btnWizardNext", "DefaultButton", Boolean.TRUE);
- // add a window listener, to know
- // if the user used "escape" key to
- // close the dialog.
- xWindow.addWindowListener(new XWindowListenerAdapter() {
- @Override
- public void windowHidden(EventObject event) {
- cancelWizard_1();
- }
- });
}
catch (java.lang.Exception jexception)
{