sw/qa/python/check_styles.py            |    2 --
 sw/qa/uitest/writer_tests4/tdf159418.py |    1 -
 sw/qa/uitest/writer_tests6/tdf101313.py |    1 -
 sw/qa/uitest/writer_tests8/tdf106733.py |    1 -
 sw/qa/uitest/writer_tests8/tdf150037.py |    1 -
 sw/qa/uitest/writer_tests8/tdf159102.py |    3 +--
 6 files changed, 1 insertion(+), 8 deletions(-)

New commits:
commit 5fa3abd3b28b7c30d015dc058f7719112003f51e
Author:     Bogdan Buzea <buzea.bog...@libreoffice.org>
AuthorDate: Wed Mar 27 16:24:51 2024 +0100
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Thu Mar 28 16:13:25 2024 +0100

    tdf#158803 Remove unused imports from uitest
    
    Change-Id: I9808d74b5499660f80242c09f1ccfe4975e2b39e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165328
    Tested-by: Jenkins
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/sw/qa/python/check_styles.py b/sw/qa/python/check_styles.py
index 59e9637d56a9..922e9093d0eb 100644
--- a/sw/qa/python/check_styles.py
+++ b/sw/qa/python/check_styles.py
@@ -11,10 +11,8 @@ import unittest
 from org.libreoffice.unotest import UnoInProcess
 from com.sun.star.container import NoSuchElementException
 from com.sun.star.beans import UnknownPropertyException
-from com.sun.star.lang import IndexOutOfBoundsException
 from com.sun.star.lang import IllegalArgumentException
 
-
 class CheckStyle(unittest.TestCase):
 
     @classmethod
diff --git a/sw/qa/uitest/writer_tests4/tdf159418.py 
b/sw/qa/uitest/writer_tests4/tdf159418.py
index 76143a5dce71..ccda45904279 100644
--- a/sw/qa/uitest/writer_tests4/tdf159418.py
+++ b/sw/qa/uitest/writer_tests4/tdf159418.py
@@ -8,7 +8,6 @@
 #
 
 from uitest.framework import UITestCase
-from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
 
 class tdf159418(UITestCase):
diff --git a/sw/qa/uitest/writer_tests6/tdf101313.py 
b/sw/qa/uitest/writer_tests6/tdf101313.py
index 106e97170ffb..8918c44f7636 100644
--- a/sw/qa/uitest/writer_tests6/tdf101313.py
+++ b/sw/qa/uitest/writer_tests6/tdf101313.py
@@ -8,7 +8,6 @@
 #
 
 from uitest.framework import UITestCase
-from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.uihelper.common import get_url_for_data_file
 from libreoffice.calc.document import get_cell_by_position
 
diff --git a/sw/qa/uitest/writer_tests8/tdf106733.py 
b/sw/qa/uitest/writer_tests8/tdf106733.py
index ade3c0da5440..697a1b6dcda1 100644
--- a/sw/qa/uitest/writer_tests8/tdf106733.py
+++ b/sw/qa/uitest/writer_tests8/tdf106733.py
@@ -10,7 +10,6 @@ from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
 from libreoffice.uno.propertyvalue import mkPropertyValues
 from libreoffice.linguistic.linguservice import get_lingu_service_manager
-from com.sun.star.lang import Locale
 from uitest.uihelper.common import select_pos
 
 # handle tdf#106733 hyphenation of words disabled by character formatting
diff --git a/sw/qa/uitest/writer_tests8/tdf150037.py 
b/sw/qa/uitest/writer_tests8/tdf150037.py
index 39ea5eda7dec..e81cf947affc 100644
--- a/sw/qa/uitest/writer_tests8/tdf150037.py
+++ b/sw/qa/uitest/writer_tests8/tdf150037.py
@@ -9,7 +9,6 @@
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_url_for_data_file
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from com.sun.star.text.TextContentAnchorType import AT_PAGE, AT_PARAGRAPH
 
 class tdf150037(UITestCase):
 
diff --git a/sw/qa/uitest/writer_tests8/tdf159102.py 
b/sw/qa/uitest/writer_tests8/tdf159102.py
index 2c3553f6f2c8..aee1a0cc405c 100644
--- a/sw/qa/uitest/writer_tests8/tdf159102.py
+++ b/sw/qa/uitest/writer_tests8/tdf159102.py
@@ -7,10 +7,9 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 from uitest.framework import UITestCase
-from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
+from uitest.uihelper.common import get_state_as_dict
 from libreoffice.uno.propertyvalue import mkPropertyValues
 from libreoffice.linguistic.linguservice import get_lingu_service_manager
-from com.sun.star.lang import Locale
 
 # handle tdf#119908 smart justify with automatic hyphenation
 

Reply via email to