scripting/source/pyprov/msgbox.py |   13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

New commits:
commit 845dbe38844d90d4313652a7b390f3715fce6d7e
Author:     LeSasse <l.sa...@fz-juelich.de>
AuthorDate: Wed Mar 27 10:18:58 2024 +0100
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Thu Mar 28 08:46:39 2024 +0100

    tdf#158803 remove unused imports
    
    Change-Id: If5b9a627d807f8bd6310ca1cc9753f331f012345
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165385
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>
    Tested-by: Noel Grandin <noel.gran...@collabora.co.uk>

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

Reply via email to