summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/web/StatusDialog.py
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/com/sun/star/wizards/web/StatusDialog.py')
-rw-r--r--wizards/com/sun/star/wizards/web/StatusDialog.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/wizards/com/sun/star/wizards/web/StatusDialog.py b/wizards/com/sun/star/wizards/web/StatusDialog.py
index 5b353cc7c005..caecdd25ef33 100644
--- a/wizards/com/sun/star/wizards/web/StatusDialog.py
+++ b/wizards/com/sun/star/wizards/web/StatusDialog.py
@@ -18,8 +18,6 @@ import uno
import traceback
from ..ui.UnoDialog2 import UnoDialog2
-from ..ui.UnoDialog import UnoDialog
-from ..ui.event.TaskListener import TaskListener
from ..common.PropertyNames import PropertyNames
# Note on the argument resource:
@@ -45,7 +43,7 @@ class StatusDialog(UnoDialog2):
self.res = resources
if not (len(self.res) == 6):
# display a close button?
- raise IllegalArgumentException("The resources argument should contain 6 Strings, see doc on constructor.")
+ raise ValueError("The resources argument should contain 6 Strings, see doc on constructor.")
b = not (self.enableBreak or self.closeOnFinish)