summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/ui
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/com/sun/star/wizards/ui')
-rw-r--r--wizards/com/sun/star/wizards/ui/ControlScroller.py2
-rw-r--r--wizards/com/sun/star/wizards/ui/WizardDialog.py3
-rw-r--r--wizards/com/sun/star/wizards/ui/event/DataAware.py1
-rw-r--r--wizards/com/sun/star/wizards/ui/event/ListDataEvent.py2
-rw-r--r--wizards/com/sun/star/wizards/ui/event/ListDataListener.py1
-rw-r--r--wizards/com/sun/star/wizards/ui/event/RadioDataAware.py1
-rw-r--r--wizards/com/sun/star/wizards/ui/event/TaskEvent.py2
-rw-r--r--wizards/com/sun/star/wizards/ui/event/UnoDataAware.py5
8 files changed, 3 insertions, 14 deletions
diff --git a/wizards/com/sun/star/wizards/ui/ControlScroller.py b/wizards/com/sun/star/wizards/ui/ControlScroller.py
index 2f6d4a41f3e0..e6dfc1257118 100644
--- a/wizards/com/sun/star/wizards/ui/ControlScroller.py
+++ b/wizards/com/sun/star/wizards/ui/ControlScroller.py
@@ -21,7 +21,7 @@ from ..common.Desktop import Desktop
from ..common.PropertyNames import PropertyNames
from ..common.HelpIds import HelpIds
-from com.sun.star.awt.ScrollBarOrientation import HORIZONTAL, VERTICAL
+from com.sun.star.awt.ScrollBarOrientation import VERTICAL
class ControlScroller(object):
diff --git a/wizards/com/sun/star/wizards/ui/WizardDialog.py b/wizards/com/sun/star/wizards/ui/WizardDialog.py
index fc1ce41b047c..cd1d9217159f 100644
--- a/wizards/com/sun/star/wizards/ui/WizardDialog.py
+++ b/wizards/com/sun/star/wizards/ui/WizardDialog.py
@@ -20,11 +20,8 @@ import traceback
from abc import ABCMeta, abstractmethod
from .UnoDialog2 import UnoDialog2, Desktop, PropertyNames, UIConsts, \
ItemListenerProcAdapter
-from .event.CommonListener import TerminateListenerProcAdapter
from ..common.Resource import Resource
from ..common.HelpIds import HelpIds
-from ..document.OfficeDocument import OfficeDocument
-from ..text.TextDocument import TextDocument
from com.sun.star.lang import NoSuchMethodException
from com.sun.star.frame import TerminationVetoException
diff --git a/wizards/com/sun/star/wizards/ui/event/DataAware.py b/wizards/com/sun/star/wizards/ui/event/DataAware.py
index 70e52df47dac..3a4a0efea026 100644
--- a/wizards/com/sun/star/wizards/ui/event/DataAware.py
+++ b/wizards/com/sun/star/wizards/ui/event/DataAware.py
@@ -18,7 +18,6 @@
import traceback
import uno
from abc import ABCMeta, abstractmethod
-from ...common.PropertyNames import PropertyNames
from com.sun.star.util import Date
from com.sun.star.util import Time
diff --git a/wizards/com/sun/star/wizards/ui/event/ListDataEvent.py b/wizards/com/sun/star/wizards/ui/event/ListDataEvent.py
index 0aeb914742c8..50588dd289f1 100644
--- a/wizards/com/sun/star/wizards/ui/event/ListDataEvent.py
+++ b/wizards/com/sun/star/wizards/ui/event/ListDataEvent.py
@@ -14,9 +14,7 @@
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
-from com.sun.star.document import EventObject
-#class ListDataEvent(EventObject):
class ListDataEvent:
INTERVAL_ADDED = 1
diff --git a/wizards/com/sun/star/wizards/ui/event/ListDataListener.py b/wizards/com/sun/star/wizards/ui/event/ListDataListener.py
index 56b4c6f8efcb..e3f74659fab5 100644
--- a/wizards/com/sun/star/wizards/ui/event/ListDataListener.py
+++ b/wizards/com/sun/star/wizards/ui/event/ListDataListener.py
@@ -16,7 +16,6 @@
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
from abc import abstractmethod
-from com.sun.star.script import EventListener
class ListDataListener():
diff --git a/wizards/com/sun/star/wizards/ui/event/RadioDataAware.py b/wizards/com/sun/star/wizards/ui/event/RadioDataAware.py
index 9a263c17b983..67ba0ceb8217 100644
--- a/wizards/com/sun/star/wizards/ui/event/RadioDataAware.py
+++ b/wizards/com/sun/star/wizards/ui/event/RadioDataAware.py
@@ -15,7 +15,6 @@
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
-import time
from .CommonListener import ItemListenerProcAdapter
from .DataAware import DataAware
diff --git a/wizards/com/sun/star/wizards/ui/event/TaskEvent.py b/wizards/com/sun/star/wizards/ui/event/TaskEvent.py
index 291a18963555..69eaec8cf320 100644
--- a/wizards/com/sun/star/wizards/ui/event/TaskEvent.py
+++ b/wizards/com/sun/star/wizards/ui/event/TaskEvent.py
@@ -14,9 +14,7 @@
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
-from com.sun.star.document import EventObject
-#class TaskEvent(EventObject):
class TaskEvent:
TASK_STARTED = 1
diff --git a/wizards/com/sun/star/wizards/ui/event/UnoDataAware.py b/wizards/com/sun/star/wizards/ui/event/UnoDataAware.py
index 1254e981313c..04ba03a3ddb2 100644
--- a/wizards/com/sun/star/wizards/ui/event/UnoDataAware.py
+++ b/wizards/com/sun/star/wizards/ui/event/UnoDataAware.py
@@ -17,9 +17,8 @@
#
import uno
from .CommonListener import ItemListenerProcAdapter, TextListenerProcAdapter
-from .DataAware import DataAware, PropertyNames, datetime, Date, Time
-
-from com.sun.star.script import CannotConvertException
+from .DataAware import DataAware, datetime, Date, Time
+from ...common.PropertyNames import PropertyNames
'''
@author rpiterman