summaryrefslogtreecommitdiff
path: root/scripting/source/pyprov/msgbox.py
diff options
context:
space:
mode:
authorLeSasse <l.sasse@fz-juelich.de>2024-03-27 10:18:58 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-03-28 08:46:39 +0100
commit845dbe38844d90d4313652a7b390f3715fce6d7e (patch)
tree3ba551252ef02293dd6becf3ad625141ff7a2a33 /scripting/source/pyprov/msgbox.py
parent9f4e04b2582971759d2eabb142d4fb1293bf00cc (diff)
tdf#158803 remove unused imports
Change-Id: If5b9a627d807f8bd6310ca1cc9753f331f012345 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165385 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'scripting/source/pyprov/msgbox.py')
-rw-r--r--scripting/source/pyprov/msgbox.py13
1 files changed, 3 insertions, 10 deletions
diff --git a/scripting/source/pyprov/msgbox.py b/scripting/source/pyprov/msgbox.py
index f9c93df174cb..5e9436fff82b 100644
--- a/scripting/source/pyprov/msgbox.py
+++ b/scripting/source/pyprov/msgbox.py
@@ -8,22 +8,15 @@
#
# prepare Python environment - Add the path of this class
-from os import path
-from sys import modules
-from sys import path as syspath
# pyUNO program itself
-import uno, unohelper
+import uno
+import unohelper
# UNO GUI toolkit
-from com.sun.star.awt.WindowClass import TOP, SIMPLE
+from com.sun.star.awt.WindowClass import TOP
from com.sun.star.awt.PushButtonType import STANDARD as standard
-from com.sun.star.awt.PushButtonType import OK as ok
-from com.sun.star.awt.PushButtonType import CANCEL as cancel
-from com.sun.star.awt.PushButtonType import HELP as help
-from com.sun.star.awt.TextAlign import CENTER as center
from com.sun.star.awt.TextAlign import LEFT as left
-from com.sun.star.awt.TextAlign import RIGHT as right
# used UNO listeners
from com.sun.star.awt import XActionListener