sc/qa/uitest/autofilter/tdf117276_autofilter_reset.py       |    2 
 sc/qa/uitest/calc_tests/CalcPasteOnly.py                    |    1 
 sc/qa/uitest/calc_tests/CellDropDownItems.py                |    4 
 sc/qa/uitest/calc_tests/Comments.py                         |    3 
 sc/qa/uitest/calc_tests/autofill.py                         |    3 
 sc/qa/uitest/calc_tests/autosum.py                          |    7 
 sc/qa/uitest/calc_tests/calcSheetDelete.py                  |    3 
 sc/qa/uitest/calc_tests/cellBackgroundColorSelector.py      |    1 
 sc/qa/uitest/calc_tests/columns.py                          |    4 
 sc/qa/uitest/calc_tests/fillRandomNumber.py                 |    6 
 sc/qa/uitest/calc_tests/formatCells.py                      |    5 
 sc/qa/uitest/calc_tests/mergedRowsColumns.py                |    1 
 sc/qa/uitest/calc_tests/printRange.py                       |    4 
 sc/qa/uitest/calc_tests/rows.py                             |    3 
 sc/qa/uitest/calc_tests/sheetRename.py                      |    6 
 sc/qa/uitest/calc_tests/zoom.py                             |    3 
 sc/qa/uitest/calc_tests2/consolidate.py                     |    2 
 sc/qa/uitest/calc_tests2/standardFilter.py                  |    1 
 sc/qa/uitest/calc_tests2/tdf104117.py                       |    6 
 sc/qa/uitest/calc_tests2/tdf117367.py                       |    3 
 sc/qa/uitest/calc_tests2/tdf120174.py                       |    1 
 sc/qa/uitest/calc_tests2/tdf37623.py                        |    2 
 sc/qa/uitest/calc_tests2/tdf46138.py                        |    5 
 sc/qa/uitest/calc_tests2/tdf51700.py                        |    3 
 sc/qa/uitest/calc_tests3/clearCells.py                      |    3 
 sc/qa/uitest/calc_tests3/insertQrCodeGen.py                 |    3 
 sc/qa/uitest/calc_tests3/tdf57274.py                        |    6 
 sc/qa/uitest/calc_tests3/tdf62267.py                        |    3 
 sc/qa/uitest/calc_tests3/tdf63805.py                        |    7 
 sc/qa/uitest/calc_tests3/tdf65856.py                        |    5 
 sc/qa/uitest/calc_tests3/tdf69450.py                        |    3 
 sc/qa/uitest/calc_tests3/tdf69981.py                        |    4 
 sc/qa/uitest/calc_tests3/tdf73006.py                        |    3 
 sc/qa/uitest/calc_tests3/tdf77509.py                        |    3 
 sc/qa/uitest/calc_tests3/tdf79983.py                        |    3 
 sc/qa/uitest/calc_tests3/tdf80693.py                        |    6 
 sc/qa/uitest/calc_tests3/tdf82398.py                        |    3 
 sc/qa/uitest/calc_tests4/tdf85403.py                        |    4 
 sc/qa/uitest/calc_tests4/tdf85979.py                        |    4 
 sc/qa/uitest/calc_tests4/tdf86253.py                        |    2 
 sc/qa/uitest/calc_tests4/tdf88999.py                        |    6 
 sc/qa/uitest/calc_tests4/tdf89907.py                        |    3 
 sc/qa/uitest/calc_tests4/tdf89958.py                        |    3 
 sc/qa/uitest/calc_tests4/tdf92423.py                        |    4 
 sc/qa/uitest/calc_tests4/tdf94208.py                        |    5 
 sc/qa/uitest/calc_tests4/tdf99386.py                        |    3 
 sc/qa/uitest/calc_tests4/textToColumns.py                   |    6 
 sc/qa/uitest/calc_tests6/autoFormat.py                      |    3 
 sc/qa/uitest/calc_tests6/autocorrectOptions.py              |    2 
 sc/qa/uitest/calc_tests6/hideShowSheet.py                   |    3 
 sc/qa/uitest/calc_tests6/moveCopySheet.py                   |    4 
 sc/qa/uitest/calc_tests6/multipleOperations.py              |    4 
 sc/qa/uitest/calc_tests6/scenarios.py                       |    5 
 sc/qa/uitest/calc_tests6/shareSpreadsheet.py                |    6 
 sc/qa/uitest/calc_tests6/tdf107267.py                       |    4 
 sc/qa/uitest/calc_tests6/tdf107869.py                       |    4 
 sc/qa/uitest/calc_tests6/tdf116996.py                       |    4 
 sc/qa/uitest/calc_tests6/tdf118638.py                       |    5 
 sc/qa/uitest/calc_tests6/tdf121263.py                       |    2 
 sc/qa/uitest/calc_tests6/tdf91726.py                        |    4 
 sc/qa/uitest/calc_tests7/tdf106667.py                       |    1 
 sc/qa/uitest/calc_tests7/tdf122509.py                       |    3 
 sc/qa/uitest/calc_tests7/tdf123122.py                       |    5 
 sc/qa/uitest/calc_tests7/tdf124818.py                       |    7 
 sc/qa/uitest/calc_tests7/tdf124896.py                       |    6 
 sc/qa/uitest/calc_tests7/tdf125030.py                       |    3 
 sc/qa/uitest/calc_tests7/tdf31805.py                        |    4 
 sc/qa/uitest/calc_tests7/tdf45020.py                        |    2 
 sc/qa/uitest/calc_tests7/tdf91425.py                        |    2 
 sc/qa/uitest/chart/chartTitles.py                           |    8 
 sw/qa/python/check_cross_references.py                      |   11 -
 sw/qa/python/check_indexed_property_values.py               |    3 
 sw/qa/python/check_named_property_values.py                 |    4 
 sw/qa/python/check_range_properties.py                      |    5 
 sw/qa/python/check_styles.py                                |    1 
 sw/qa/python/check_xautotextcontainer.py                    |    1 
 sw/qa/python/check_xautotextgroup.py                        |    1 
 sw/qa/python/check_xmodel.py                                |    2 
 sw/qa/python/text_portion_enumeration_test.py               |    4 
 sw/qa/python/xcontrolshape.py                               |    2 
 sw/qa/python/xstyleloader.py                                |    3 
 sw/qa/python/xtext.py                                       |    1 
 sw/qa/python/xtextcursor.py                                 |    3 
 sw/qa/python/xtextfieldssupplier.py                         |    2 
 sw/qa/python/xtextrange.py                                  |    3 
 sw/qa/uitest/chapterNumbering/chapterNumbering.py           |    3 
 sw/qa/uitest/chapterNumbering/tdf123547.py                  |    4 
 sw/qa/uitest/classification/classification.py               |    3 
 sw/qa/uitest/findBar/findbar.py                             |    4 
 sw/qa/uitest/findReplace/findReplace.py                     |    2 
 sw/qa/uitest/findReplace/tdf106099.py                       |    7 
 sw/qa/uitest/findReplace/tdf118208.py                       |    6 
 sw/qa/uitest/findReplace/tdf119462.py                       |    6 
 sw/qa/uitest/findSimilarity/findSimilarity.py               |    5 
 sw/qa/uitest/librelogo/compile.py                           |    7 
 sw/qa/uitest/librelogo/run.py                               |    8 
 sw/qa/uitest/options/tdf78133.py                            |    2 
 sw/qa/uitest/table/sheetToTable.py                          |    3 
 sw/qa/uitest/table/splitTable.py                            |    6 
 sw/qa/uitest/table/tableProperties.py                       |    4 
 sw/qa/uitest/table/tableToText.py                           |    5 
 sw/qa/uitest/table/tdf115026.py                             |    1 
 sw/qa/uitest/table/tdf116737.py                             |    2 
 sw/qa/uitest/table/tdf128593.py                             |    1 
 sw/qa/uitest/table/tdf134881_colProportionalAdjust.py       |    2 
 sw/qa/uitest/table/tdf81292.py                              |    3 
 sw/qa/uitest/table/tdf99334.py                              |    3 
 sw/qa/uitest/table/textToTable.py                           |    5 
 sw/qa/uitest/ui/fmtui/fmtui.py                              |    2 
 sw/qa/uitest/writer_tests/comments.py                       |    5 
 sw/qa/uitest/writer_tests/insertCaption.py                  |    3 
 sw/qa/uitest/writer_tests/tdf137459_editeng_ctrl-DEL.py     |    2 
 sw/qa/uitest/writer_tests/tdf53460.py                       |    1 
 sw/qa/uitest/writer_tests/tdf78068.py                       |    8 
 sw/qa/uitest/writer_tests/tdf81457.py                       |    3 
 sw/qa/uitest/writer_tests/watermark.py                      |    3 
 sw/qa/uitest/writer_tests2/asianPhoneticGuide.py            |    4 
 sw/qa/uitest/writer_tests2/bookmark.py                      |    2 
 sw/qa/uitest/writer_tests2/deleteAllComments.py             |    5 
 sw/qa/uitest/writer_tests2/exchangeDatabase.py              |    5 
 sw/qa/uitest/writer_tests2/fontworks.py                     |    5 
 sw/qa/uitest/writer_tests2/formatBulletsNumbering.py        |    5 
 sw/qa/uitest/writer_tests2/formatCharacter.py               |    5 
 sw/qa/uitest/writer_tests2/formatParagraph.py               |    5 
 sw/qa/uitest/writer_tests2/horizontalLine.py                |    2 
 sw/qa/uitest/writer_tests2/insertFootnote.py                |    5 
 sw/qa/uitest/writer_tests2/tdf116474.py                     |    3 
 sw/qa/uitest/writer_tests3/autoredactDialog.py              |    4 
 sw/qa/uitest/writer_tests3/hyperlinkdialog.py               |    4 
 sw/qa/uitest/writer_tests3/insertEndnote.py                 |    5 
 sw/qa/uitest/writer_tests3/insertEnvelope.py                |    2 
 sw/qa/uitest/writer_tests3/insertFootEndnote.py             |    4 
 sw/qa/uitest/writer_tests3/insertQrCodeGen.py               |    3 
 sw/qa/uitest/writer_tests3/insertSignatureLine.py           |    2 
 sw/qa/uitest/writer_tests3/lineNumbering.py                 |    3 
 sw/qa/uitest/writer_tests3/pageDialog.py                    |    2 
 sw/qa/uitest/writer_tests3/sort.py                          |    5 
 sw/qa/uitest/writer_tests3/specialCharacter.py              |   98 +++++-------
 sw/qa/uitest/writer_tests3/tdf79236.py                      |    3 
 sw/qa/uitest/writer_tests4/start.py                         |    2 
 sw/qa/uitest/writer_tests4/tdf113252.py                     |    7 
 sw/qa/uitest/writer_tests4/tdf115088.py                     |    4 
 sw/qa/uitest/writer_tests4/tdf115572.py                     |    5 
 sw/qa/uitest/writer_tests4/tdf115573.py                     |    5 
 sw/qa/uitest/writer_tests4/tdf122449.py                     |    2 
 sw/qa/uitest/writer_tests4/tdf136578.py                     |    2 
 sw/qa/uitest/writer_tests4/tdf138546.py                     |    2 
 sw/qa/uitest/writer_tests4/tdf51352.py                      |    1 
 sw/qa/uitest/writer_tests5/DateFormFieldPropertiesDialog.py |    1 
 sw/qa/uitest/writer_tests5/autocorrectOptions.py            |    2 
 sw/qa/uitest/writer_tests5/columns.py                       |    4 
 sw/qa/uitest/writer_tests5/tdf107494.py                     |    5 
 sw/qa/uitest/writer_tests5/tdf117039.py                     |    3 
 sw/qa/uitest/writer_tests5/tdf118540.py                     |    3 
 sw/qa/uitest/writer_tests5/tdf122045.py                     |    1 
 sw/qa/uitest/writer_tests5/tdf122722.py                     |    4 
 sw/qa/uitest/writer_tests5/tdf123446.py                     |    5 
 sw/qa/uitest/writer_tests5/titlePage.py                     |    5 
 sw/qa/uitest/writer_tests5/titlePageWizard.py               |    3 
 sw/qa/uitest/writer_tests5/titlePageWizard2.py              |    3 
 sw/qa/uitest/writer_tests5/xwindow.py                       |    3 
 sw/qa/uitest/writer_tests5/zoom.py                          |    3 
 sw/qa/uitest/writer_tests6/tdf107847.py                     |    4 
 sw/qa/uitest/writer_tests6/tdf120731.py                     |    6 
 sw/qa/uitest/writer_tests6/tdf124586.py                     |    6 
 sw/qa/uitest/writer_tests6/tdf124675.py                     |    5 
 sw/qa/uitest/writer_tests6/tdf126017.py                     |    5 
 sw/qa/uitest/writer_tests6/tdf126168.py                     |    4 
 sw/qa/uitest/writer_tests6/tdf126627.py                     |    5 
 sw/qa/uitest/writer_tests6/tdf128431.py                     |    7 
 sw/qa/uitest/writer_tests6/tdf44837.py                      |    4 
 sw/qa/uitest/writer_tests7/tdf104795.py                     |    1 
 sw/qa/uitest/writer_tests7/tdf122780.py                     |    1 
 sw/qa/uitest/writer_tests7/tdf131936.py                     |    1 
 sw/qa/uitest/writer_tests7/tdf132169.py                     |    1 
 sw/qa/uitest/writer_tests7/tdf137802.py                     |    2 
 sw/qa/uitest/writer_tests7/tdf137803.py                     |    3 
 sw/qa/uitest/writer_tests7/tdf140117.py                     |    1 
 178 files changed, 149 insertions(+), 590 deletions(-)

New commits:
commit a804a0a548dc976a1e9063ad2c34b6ce7542542e
Author:     Vatsal32 <vatsalm...@gmail.com>
AuthorDate: Wed Apr 7 19:29:58 2021 +0530
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Thu Apr 8 15:00:03 2021 +0200

    tdf#132293 removed all the unused imports from the folder sw
    
    Change-Id: I5a37f30941a73c276bc238fa9fbdfcfd8381791f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112563
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sc/qa/uitest/autofilter/tdf117276_autofilter_reset.py 
b/sc/qa/uitest/autofilter/tdf117276_autofilter_reset.py
index 5a22fe8071c2..89be1bb51099 100644
--- a/sc/qa/uitest/autofilter/tdf117276_autofilter_reset.py
+++ b/sc/qa/uitest/autofilter/tdf117276_autofilter_reset.py
@@ -8,8 +8,6 @@ from uitest.framework import UITestCase
 from uitest.uihelper.calc import enter_text_to_cell
 from libreoffice.uno.propertyvalue import mkPropertyValues
 from libreoffice.calc.document import is_row_hidden
-from uitest.uihelper.common import get_url_for_data_file
-
 #Bug 117276 - Autofilter settings being reset in some cases
 
 class tdf117276_autofilter_reset(UITestCase):
diff --git a/sc/qa/uitest/calc_tests/CalcPasteOnly.py 
b/sc/qa/uitest/calc_tests/CalcPasteOnly.py
index 9cc05a0a84eb..414f58230a51 100644
--- a/sc/qa/uitest/calc_tests/CalcPasteOnly.py
+++ b/sc/qa/uitest/calc_tests/CalcPasteOnly.py
@@ -7,7 +7,6 @@
 
 from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.framework import UITestCase
-from libreoffice.calc.document import get_column
 from libreoffice.calc.document import get_cell_by_position
 from uitest.uihelper.calc import enter_text_to_cell
 
diff --git a/sc/qa/uitest/calc_tests/CellDropDownItems.py 
b/sc/qa/uitest/calc_tests/CellDropDownItems.py
index 2843181eaaca..7b089751cff5 100644
--- a/sc/qa/uitest/calc_tests/CellDropDownItems.py
+++ b/sc/qa/uitest/calc_tests/CellDropDownItems.py
@@ -5,8 +5,6 @@
 # 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
-from uitest.uihelper.common import select_pos
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
@@ -85,4 +83,4 @@ class CellDropDownItems(UITestCase):
 
         self.ui_test.close_doc()
 
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sc/qa/uitest/calc_tests/Comments.py 
b/sc/qa/uitest/calc_tests/Comments.py
index 52d1f2a1d666..3841686d99f5 100644
--- a/sc/qa/uitest/calc_tests/Comments.py
+++ b/sc/qa/uitest/calc_tests/Comments.py
@@ -7,7 +7,6 @@
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.debug import sleep
 
 class Comments(UITestCase):
     def test_comment(self):
@@ -46,4 +45,4 @@ class Comments(UITestCase):
 
         self.ui_test.close_doc()
 
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sc/qa/uitest/calc_tests/autofill.py 
b/sc/qa/uitest/calc_tests/autofill.py
index 7112506b43a2..23f8bd9bac26 100644
--- a/sc/qa/uitest/calc_tests/autofill.py
+++ b/sc/qa/uitest/calc_tests/autofill.py
@@ -5,8 +5,7 @@
 # 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 select_pos
+from uitest.uihelper.common import get_url_for_data_file
 from uitest.uihelper.calc import enter_text_to_cell
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
diff --git a/sc/qa/uitest/calc_tests/autosum.py 
b/sc/qa/uitest/calc_tests/autosum.py
index abb4b40253a5..f7c41388c17e 100644
--- a/sc/qa/uitest/calc_tests/autosum.py
+++ b/sc/qa/uitest/calc_tests/autosum.py
@@ -5,10 +5,7 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 from uitest.framework import UITestCase
-import os
-from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
-from libreoffice.calc.document import get_sheet_from_doc
-from libreoffice.calc.conditional_format import 
get_conditional_format_from_sheet
+from uitest.uihelper.common import get_url_for_data_file
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
@@ -283,4 +280,4 @@ class calcAutosum(UITestCase):
         self.assertEqual(get_cell_by_position(document, 0, 4, 
206).getFormula(), "=SUM(B207:D207)")
         self.ui_test.close_doc()
 
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sc/qa/uitest/calc_tests/calcSheetDelete.py 
b/sc/qa/uitest/calc_tests/calcSheetDelete.py
index 93de48292f94..ae8867c6f97c 100644
--- a/sc/qa/uitest/calc_tests/calcSheetDelete.py
+++ b/sc/qa/uitest/calc_tests/calcSheetDelete.py
@@ -6,11 +6,8 @@
 #
 
 from uitest.framework import UITestCase
-from uitest.uihelper.common import get_state_as_dict
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.debug import sleep
 from uitest.uihelper.calc import enter_text_to_cell
-import time
 
 class calcSheetDelete(UITestCase):
 
diff --git a/sc/qa/uitest/calc_tests/cellBackgroundColorSelector.py 
b/sc/qa/uitest/calc_tests/cellBackgroundColorSelector.py
index 0e26d3a41a51..7d4c2ff089ba 100644
--- a/sc/qa/uitest/calc_tests/cellBackgroundColorSelector.py
+++ b/sc/qa/uitest/calc_tests/cellBackgroundColorSelector.py
@@ -8,7 +8,6 @@ from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
 from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import select_by_text
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
 class CalcCellBackgroundColorSelector(UITestCase):
diff --git a/sc/qa/uitest/calc_tests/columns.py 
b/sc/qa/uitest/calc_tests/columns.py
index 784730ddff5a..a03ebda37ae2 100644
--- a/sc/qa/uitest/calc_tests/columns.py
+++ b/sc/qa/uitest/calc_tests/columns.py
@@ -6,12 +6,8 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
-from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import change_measurement_unit
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.debug import sleep
 
 class CalcColumns(UITestCase):
     def test_column_width(self):
diff --git a/sc/qa/uitest/calc_tests/fillRandomNumber.py 
b/sc/qa/uitest/calc_tests/fillRandomNumber.py
index ee97c487a1fe..800786bbbac0 100644
--- a/sc/qa/uitest/calc_tests/fillRandomNumber.py
+++ b/sc/qa/uitest/calc_tests/fillRandomNumber.py
@@ -5,13 +5,7 @@
 # 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
-from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import select_by_text
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_sheet_from_doc
-from libreoffice.calc.conditional_format import 
get_conditional_format_from_sheet
-from uitest.debug import sleep
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
diff --git a/sc/qa/uitest/calc_tests/formatCells.py 
b/sc/qa/uitest/calc_tests/formatCells.py
index 2daf171e440e..f8b5cfd7c30c 100644
--- a/sc/qa/uitest/calc_tests/formatCells.py
+++ b/sc/qa/uitest/calc_tests/formatCells.py
@@ -9,11 +9,6 @@ from uitest.uihelper.common import get_state_as_dict
 from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import select_by_text
 from uitest.uihelper.common import change_measurement_unit
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_sheet_from_doc
-from libreoffice.calc.conditional_format import 
get_conditional_format_from_sheet
-from uitest.debug import sleep
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
 class formatCell(UITestCase):
diff --git a/sc/qa/uitest/calc_tests/mergedRowsColumns.py 
b/sc/qa/uitest/calc_tests/mergedRowsColumns.py
index 96900afbc0dd..3247f0bc63bd 100644
--- a/sc/qa/uitest/calc_tests/mergedRowsColumns.py
+++ b/sc/qa/uitest/calc_tests/mergedRowsColumns.py
@@ -7,7 +7,6 @@
 
 from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.framework import UITestCase
-from libreoffice.calc.document import get_column
 from libreoffice.calc.document import get_cell_by_position
 from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
 
diff --git a/sc/qa/uitest/calc_tests/printRange.py 
b/sc/qa/uitest/calc_tests/printRange.py
index 2a5f26410955..a08262595035 100644
--- a/sc/qa/uitest/calc_tests/printRange.py
+++ b/sc/qa/uitest/calc_tests/printRange.py
@@ -6,11 +6,7 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
-from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.debug import sleep
 
 class printRange(UITestCase):
     def test_printRange(self):
diff --git a/sc/qa/uitest/calc_tests/rows.py b/sc/qa/uitest/calc_tests/rows.py
index cb456fae8176..f1ee519ba09a 100644
--- a/sc/qa/uitest/calc_tests/rows.py
+++ b/sc/qa/uitest/calc_tests/rows.py
@@ -6,10 +6,7 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
-from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import change_measurement_unit
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
 class CalcRows(UITestCase):
diff --git a/sc/qa/uitest/calc_tests/sheetRename.py 
b/sc/qa/uitest/calc_tests/sheetRename.py
index 28acb90cfe8d..2e6ffc6fb740 100644
--- a/sc/qa/uitest/calc_tests/sheetRename.py
+++ b/sc/qa/uitest/calc_tests/sheetRename.py
@@ -6,12 +6,6 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
-from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_sheet_from_doc
-from libreoffice.calc.conditional_format import 
get_conditional_format_from_sheet
-from uitest.debug import sleep
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
 class sheetRename(UITestCase):
diff --git a/sc/qa/uitest/calc_tests/zoom.py b/sc/qa/uitest/calc_tests/zoom.py
index 647507ef70c9..dc4ef64ff5e6 100644
--- a/sc/qa/uitest/calc_tests/zoom.py
+++ b/sc/qa/uitest/calc_tests/zoom.py
@@ -7,7 +7,6 @@
 from uitest.framework import UITestCase
 from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.uihelper.common import get_state_as_dict
-import importlib
 #uitest sc / View-Zoom
 
 class calcZoom(UITestCase):
@@ -67,4 +66,4 @@ class calcZoom(UITestCase):
 
         self.ui_test.close_doc()
 
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sc/qa/uitest/calc_tests2/consolidate.py 
b/sc/qa/uitest/calc_tests2/consolidate.py
index 1a854b0cd975..8b47fb6f6d5d 100644
--- a/sc/qa/uitest/calc_tests2/consolidate.py
+++ b/sc/qa/uitest/calc_tests2/consolidate.py
@@ -6,9 +6,7 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
-from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import select_by_text
-from uitest.uihelper.calc import enter_text_to_cell
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
diff --git a/sc/qa/uitest/calc_tests2/standardFilter.py 
b/sc/qa/uitest/calc_tests2/standardFilter.py
index a2e10f8de951..cc719db86c4e 100644
--- a/sc/qa/uitest/calc_tests2/standardFilter.py
+++ b/sc/qa/uitest/calc_tests2/standardFilter.py
@@ -6,7 +6,6 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
-from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import select_by_text
 from uitest.uihelper.calc import enter_text_to_cell
 from libreoffice.calc.document import get_cell_by_position
diff --git a/sc/qa/uitest/calc_tests2/tdf104117.py 
b/sc/qa/uitest/calc_tests2/tdf104117.py
index f835d47030bb..a226427311ee 100644
--- a/sc/qa/uitest/calc_tests2/tdf104117.py
+++ b/sc/qa/uitest/calc_tests2/tdf104117.py
@@ -5,13 +5,7 @@
 # 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
-from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import select_by_text
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_sheet_from_doc
-from libreoffice.calc.conditional_format import 
get_conditional_format_from_sheet
-from uitest.debug import sleep
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
diff --git a/sc/qa/uitest/calc_tests2/tdf117367.py 
b/sc/qa/uitest/calc_tests2/tdf117367.py
index 36f3e25802d6..47ee214f14de 100644
--- a/sc/qa/uitest/calc_tests2/tdf117367.py
+++ b/sc/qa/uitest/calc_tests2/tdf117367.py
@@ -6,11 +6,8 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
-from uitest.uihelper.common import select_pos
 from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.debug import sleep
 #Bug 117367 - FORMATTING Merge cells dialog radio buttons cannot be unselected
 
 class tdf117367(UITestCase):
diff --git a/sc/qa/uitest/calc_tests2/tdf120174.py 
b/sc/qa/uitest/calc_tests2/tdf120174.py
index d9e0de2aa0d0..752d276c5db5 100644
--- a/sc/qa/uitest/calc_tests2/tdf120174.py
+++ b/sc/qa/uitest/calc_tests2/tdf120174.py
@@ -8,7 +8,6 @@ from uitest.framework import UITestCase
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.uihelper.calc import enter_text_to_cell
-from uitest.uihelper.common import get_url_for_data_file
 
 class tdf120174(UITestCase):
     def test_tdf120174(self):
diff --git a/sc/qa/uitest/calc_tests2/tdf37623.py 
b/sc/qa/uitest/calc_tests2/tdf37623.py
index 6981b8ad21f2..fd81c77c7ef0 100644
--- a/sc/qa/uitest/calc_tests2/tdf37623.py
+++ b/sc/qa/uitest/calc_tests2/tdf37623.py
@@ -5,7 +5,7 @@
 # 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_url_for_data_file
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
diff --git a/sc/qa/uitest/calc_tests2/tdf46138.py 
b/sc/qa/uitest/calc_tests2/tdf46138.py
index 7aadac6e1c8b..244e1634a1ec 100644
--- a/sc/qa/uitest/calc_tests2/tdf46138.py
+++ b/sc/qa/uitest/calc_tests2/tdf46138.py
@@ -5,9 +5,6 @@
 # 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
-from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 #Bug 46138 - Calc Frozen after "undo" "Filling Series Number in a Column"
@@ -34,4 +31,4 @@ class tdf46138(UITestCase):
         self.assertEqual(get_cell_by_position(document, 0, 0, 0).getString(), 
"")
         self.ui_test.close_doc()
 
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sc/qa/uitest/calc_tests2/tdf51700.py 
b/sc/qa/uitest/calc_tests2/tdf51700.py
index ed0cb934d47d..00eadf1469bd 100644
--- a/sc/qa/uitest/calc_tests2/tdf51700.py
+++ b/sc/qa/uitest/calc_tests2/tdf51700.py
@@ -6,7 +6,6 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
-from uitest.uihelper.common import select_pos
 from uitest.uihelper.calc import enter_text_to_cell
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
@@ -52,4 +51,4 @@ class tdf51700(UITestCase):
 
         self.ui_test.close_doc()
 
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sc/qa/uitest/calc_tests3/clearCells.py 
b/sc/qa/uitest/calc_tests3/clearCells.py
index 162ac86e1f6b..7df66ef7f93f 100644
--- a/sc/qa/uitest/calc_tests3/clearCells.py
+++ b/sc/qa/uitest/calc_tests3/clearCells.py
@@ -8,9 +8,6 @@ from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
 from uitest.uihelper.common import select_pos
 from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_sheet_from_doc
-from libreoffice.calc.conditional_format import 
get_conditional_format_from_sheet
-from uitest.debug import sleep
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 #deletecontents.ui
diff --git a/sc/qa/uitest/calc_tests3/insertQrCodeGen.py 
b/sc/qa/uitest/calc_tests3/insertQrCodeGen.py
index 3dfd396e3fd5..691eadcbea29 100644
--- a/sc/qa/uitest/calc_tests3/insertQrCodeGen.py
+++ b/sc/qa/uitest/calc_tests3/insertQrCodeGen.py
@@ -5,8 +5,7 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 from uitest.framework import UITestCase
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, type_text
+from uitest.uihelper.common import type_text
 from com.sun.star.lang import IndexOutOfBoundsException
 
 class insertQrCode(UITestCase):
diff --git a/sc/qa/uitest/calc_tests3/tdf57274.py 
b/sc/qa/uitest/calc_tests3/tdf57274.py
index dce569588706..9465d9bee5db 100644
--- a/sc/qa/uitest/calc_tests3/tdf57274.py
+++ b/sc/qa/uitest/calc_tests3/tdf57274.py
@@ -5,9 +5,7 @@
 # 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 libreoffice.calc.document import get_sheet_from_doc
-from libreoffice.calc.conditional_format import 
get_conditional_format_from_sheet
+from uitest.uihelper.common import get_url_for_data_file
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
@@ -43,4 +41,4 @@ class tdf57274(UITestCase):
         self.assertEqual(get_cell_by_position(document, 0, 4, 
10).getFormula(), "=$Sheet1.$E$6")
         self.ui_test.close_doc()
 
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sc/qa/uitest/calc_tests3/tdf62267.py 
b/sc/qa/uitest/calc_tests3/tdf62267.py
index 68440de839f1..930c0c262f25 100644
--- a/sc/qa/uitest/calc_tests3/tdf62267.py
+++ b/sc/qa/uitest/calc_tests3/tdf62267.py
@@ -6,9 +6,6 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
-from libreoffice.calc.document import get_sheet_from_doc
-from libreoffice.calc.conditional_format import 
get_conditional_format_from_sheet
-from uitest.debug import sleep
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
 #Bug 62267 - Conditional formatting lost after paste special of text, numbers 
and dates.
diff --git a/sc/qa/uitest/calc_tests3/tdf63805.py 
b/sc/qa/uitest/calc_tests3/tdf63805.py
index f4c0fcc20d07..e7b1277d5a7b 100644
--- a/sc/qa/uitest/calc_tests3/tdf63805.py
+++ b/sc/qa/uitest/calc_tests3/tdf63805.py
@@ -5,11 +5,8 @@
 # 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 select_pos
+from uitest.uihelper.common import get_url_for_data_file
 from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_sheet_from_doc
-from libreoffice.calc.conditional_format import 
get_conditional_format_from_sheet
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
@@ -59,4 +56,4 @@ class tdf63805(UITestCase):
         self.assertEqual(get_cell_by_position(document, 0, 0, 1).getValue(), 0)
         self.ui_test.close_doc()
 
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sc/qa/uitest/calc_tests3/tdf65856.py 
b/sc/qa/uitest/calc_tests3/tdf65856.py
index 092b8c46818b..60a95302b6c5 100644
--- a/sc/qa/uitest/calc_tests3/tdf65856.py
+++ b/sc/qa/uitest/calc_tests3/tdf65856.py
@@ -5,10 +5,7 @@
 # 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 libreoffice.calc.document import get_sheet_from_doc
-from libreoffice.calc.conditional_format import 
get_conditional_format_from_sheet
-from uitest.debug import sleep
+from uitest.uihelper.common import get_url_for_data_file
 from libreoffice.uno.propertyvalue import mkPropertyValues
 from libreoffice.calc.document import get_cell_by_position
 
diff --git a/sc/qa/uitest/calc_tests3/tdf69450.py 
b/sc/qa/uitest/calc_tests3/tdf69450.py
index ad375fecf079..2951b385b8ca 100644
--- a/sc/qa/uitest/calc_tests3/tdf69450.py
+++ b/sc/qa/uitest/calc_tests3/tdf69450.py
@@ -5,9 +5,6 @@
 # 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
-from libreoffice.calc.document import get_sheet_from_doc
-from uitest.debug import sleep
 from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.uihelper.calc import enter_text_to_cell
 from libreoffice.calc.document import get_cell_by_position
diff --git a/sc/qa/uitest/calc_tests3/tdf69981.py 
b/sc/qa/uitest/calc_tests3/tdf69981.py
index e2407bee9c98..5306122902fe 100644
--- a/sc/qa/uitest/calc_tests3/tdf69981.py
+++ b/sc/qa/uitest/calc_tests3/tdf69981.py
@@ -6,10 +6,6 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
-from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_sheet_from_doc
-from libreoffice.calc.conditional_format import 
get_conditional_format_from_sheet
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
diff --git a/sc/qa/uitest/calc_tests3/tdf73006.py 
b/sc/qa/uitest/calc_tests3/tdf73006.py
index 8124bb4209d0..558367e6e6fb 100644
--- a/sc/qa/uitest/calc_tests3/tdf73006.py
+++ b/sc/qa/uitest/calc_tests3/tdf73006.py
@@ -6,7 +6,6 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
-from uitest.uihelper.common import select_pos
 from uitest.uihelper.calc import enter_text_to_cell
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
@@ -40,4 +39,4 @@ class tdf73006(UITestCase):
 
         self.ui_test.close_doc()
 
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sc/qa/uitest/calc_tests3/tdf77509.py 
b/sc/qa/uitest/calc_tests3/tdf77509.py
index 569d704ceafd..4d2571c554dc 100644
--- a/sc/qa/uitest/calc_tests3/tdf77509.py
+++ b/sc/qa/uitest/calc_tests3/tdf77509.py
@@ -6,9 +6,8 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
-from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import select_by_text
-from uitest.uihelper.calc import enter_text_to_cell
+from uitest.uihelper.common import get_url_for_data_file
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
diff --git a/sc/qa/uitest/calc_tests3/tdf79983.py 
b/sc/qa/uitest/calc_tests3/tdf79983.py
index f674897c8b14..c90561cee034 100644
--- a/sc/qa/uitest/calc_tests3/tdf79983.py
+++ b/sc/qa/uitest/calc_tests3/tdf79983.py
@@ -9,7 +9,6 @@ from uitest.uihelper.common import get_state_as_dict
 from uitest.uihelper.calc import enter_text_to_cell
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
-
 #Bug 79983 - Calc sort lists aren't case sensitive
 
 class tdf79983(UITestCase):
@@ -70,4 +69,4 @@ class tdf79983(UITestCase):
 
         self.ui_test.close_doc()
 
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sc/qa/uitest/calc_tests3/tdf80693.py 
b/sc/qa/uitest/calc_tests3/tdf80693.py
index afd8fea164d0..8b16978c95f9 100644
--- a/sc/qa/uitest/calc_tests3/tdf80693.py
+++ b/sc/qa/uitest/calc_tests3/tdf80693.py
@@ -5,13 +5,7 @@
 # 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
-from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import select_by_text
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_sheet_from_doc
-from libreoffice.calc.conditional_format import 
get_conditional_format_from_sheet
-from uitest.debug import sleep
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
diff --git a/sc/qa/uitest/calc_tests3/tdf82398.py 
b/sc/qa/uitest/calc_tests3/tdf82398.py
index 66e8d57840ea..6cf2e8c671d0 100644
--- a/sc/qa/uitest/calc_tests3/tdf82398.py
+++ b/sc/qa/uitest/calc_tests3/tdf82398.py
@@ -6,7 +6,6 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
-from uitest.uihelper.common import select_pos
 from uitest.uihelper.calc import enter_text_to_cell
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
@@ -60,4 +59,4 @@ class tdf82398(UITestCase):
 
         self.ui_test.close_doc()
 
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sc/qa/uitest/calc_tests4/tdf85403.py 
b/sc/qa/uitest/calc_tests4/tdf85403.py
index 4b0979b6a66d..2e411ada8394 100644
--- a/sc/qa/uitest/calc_tests4/tdf85403.py
+++ b/sc/qa/uitest/calc_tests4/tdf85403.py
@@ -5,9 +5,7 @@
 # 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 select_pos
-from uitest.uihelper.calc import enter_text_to_cell
+from uitest.uihelper.common import get_url_for_data_file
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
diff --git a/sc/qa/uitest/calc_tests4/tdf85979.py 
b/sc/qa/uitest/calc_tests4/tdf85979.py
index 7de1be729f30..3a2e9a6a81cd 100644
--- a/sc/qa/uitest/calc_tests4/tdf85979.py
+++ b/sc/qa/uitest/calc_tests4/tdf85979.py
@@ -6,8 +6,6 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
-from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
@@ -52,4 +50,4 @@ class tdf85979(UITestCase):
 
         self.ui_test.close_doc()
 
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sc/qa/uitest/calc_tests4/tdf86253.py 
b/sc/qa/uitest/calc_tests4/tdf86253.py
index 727319f31618..a2e004caf3a4 100644
--- a/sc/qa/uitest/calc_tests4/tdf86253.py
+++ b/sc/qa/uitest/calc_tests4/tdf86253.py
@@ -6,8 +6,6 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
-from libreoffice.calc.document import get_sheet_from_doc
-from libreoffice.calc.conditional_format import 
get_conditional_format_from_sheet
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
 class tdf86253(UITestCase):
diff --git a/sc/qa/uitest/calc_tests4/tdf88999.py 
b/sc/qa/uitest/calc_tests4/tdf88999.py
index ddbfaa4279ee..4f27a34d85f5 100644
--- a/sc/qa/uitest/calc_tests4/tdf88999.py
+++ b/sc/qa/uitest/calc_tests4/tdf88999.py
@@ -8,10 +8,6 @@ from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
 from uitest.uihelper.common import select_pos
 from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_sheet_from_doc
-from libreoffice.calc.conditional_format import 
get_conditional_format_from_sheet
-from uitest.debug import sleep
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 #Bug 88999 - UI: Scientific format: unable to modify number of decimal places 
through Sidebar or Format > Cells
 
@@ -50,4 +46,4 @@ class tdf88999(UITestCase):
 
         self.ui_test.close_doc()
 
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sc/qa/uitest/calc_tests4/tdf89907.py 
b/sc/qa/uitest/calc_tests4/tdf89907.py
index 13a96014572e..5e0cde458670 100644
--- a/sc/qa/uitest/calc_tests4/tdf89907.py
+++ b/sc/qa/uitest/calc_tests4/tdf89907.py
@@ -6,7 +6,6 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
-from uitest.uihelper.common import select_pos
 from uitest.uihelper.calc import enter_text_to_cell
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
@@ -61,4 +60,4 @@ class tdf89907(UITestCase):
 
         self.ui_test.close_doc()
 
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sc/qa/uitest/calc_tests4/tdf89958.py 
b/sc/qa/uitest/calc_tests4/tdf89958.py
index 223b673e8fec..0ec1b7dd8284 100644
--- a/sc/qa/uitest/calc_tests4/tdf89958.py
+++ b/sc/qa/uitest/calc_tests4/tdf89958.py
@@ -6,10 +6,7 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
-from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import select_by_text
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
 #Bug 89958 - Data->Filter->Standard Filter, condition "does not end with" does 
filter too much
diff --git a/sc/qa/uitest/calc_tests4/tdf92423.py 
b/sc/qa/uitest/calc_tests4/tdf92423.py
index 52920ae1799a..c5bde52e2468 100644
--- a/sc/qa/uitest/calc_tests4/tdf92423.py
+++ b/sc/qa/uitest/calc_tests4/tdf92423.py
@@ -6,11 +6,9 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
-from uitest.uihelper.common import select_pos
 from uitest.uihelper.calc import enter_text_to_cell
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.debug import sleep
 #Bug 92423 - EDITING Text to columns... does not respect currently selected 
cells
 
 class tdf92423(UITestCase):
@@ -72,4 +70,4 @@ class tdf92423(UITestCase):
 
         self.ui_test.close_doc()
 
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sc/qa/uitest/calc_tests4/tdf94208.py 
b/sc/qa/uitest/calc_tests4/tdf94208.py
index 346b60c61f78..542b8a2daa91 100644
--- a/sc/qa/uitest/calc_tests4/tdf94208.py
+++ b/sc/qa/uitest/calc_tests4/tdf94208.py
@@ -5,12 +5,7 @@
 # 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
-from uitest.uihelper.common import select_pos
 from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_sheet_from_doc
-from libreoffice.calc.conditional_format import 
get_conditional_format_from_sheet
-from uitest.debug import sleep
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 #Bug 94208 - Undo after Control-D Fill doesn't broadcast deleted 
(undo-inserted) cells for calculation
diff --git a/sc/qa/uitest/calc_tests4/tdf99386.py 
b/sc/qa/uitest/calc_tests4/tdf99386.py
index 0d2617e4ec80..088af0eee505 100644
--- a/sc/qa/uitest/calc_tests4/tdf99386.py
+++ b/sc/qa/uitest/calc_tests4/tdf99386.py
@@ -6,9 +6,8 @@
 #
 
 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_url_for_data_file
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.calc import enter_text_to_cell
 from libreoffice.calc.document import get_cell_by_position
 
 class tdf99386(UITestCase):
diff --git a/sc/qa/uitest/calc_tests4/textToColumns.py 
b/sc/qa/uitest/calc_tests4/textToColumns.py
index 993ea69cb36d..efa74d8c36bc 100644
--- a/sc/qa/uitest/calc_tests4/textToColumns.py
+++ b/sc/qa/uitest/calc_tests4/textToColumns.py
@@ -6,10 +6,6 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
-from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_sheet_from_doc
-from libreoffice.calc.conditional_format import 
get_conditional_format_from_sheet
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
@@ -517,4 +513,4 @@ class CalcTextToColumns(UITestCase):
         self.assertEqual(get_cell_by_position(document, 0, 6, 3).getValue(), 0)
         self.assertEqual(get_cell_by_position(document, 0, 6, 4).getString(), 
"random content")
         self.ui_test.close_doc()
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sc/qa/uitest/calc_tests6/autoFormat.py 
b/sc/qa/uitest/calc_tests6/autoFormat.py
index c38165f36c36..362a42a6a411 100644
--- a/sc/qa/uitest/calc_tests6/autoFormat.py
+++ b/sc/qa/uitest/calc_tests6/autoFormat.py
@@ -6,9 +6,6 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
-from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 #uitest sc / AutoFormat Styles
 
diff --git a/sc/qa/uitest/calc_tests6/autocorrectOptions.py 
b/sc/qa/uitest/calc_tests6/autocorrectOptions.py
index aa425b38a6e8..8daa3e537bfb 100644
--- a/sc/qa/uitest/calc_tests6/autocorrectOptions.py
+++ b/sc/qa/uitest/calc_tests6/autocorrectOptions.py
@@ -7,8 +7,6 @@
 from uitest.framework import UITestCase
 from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.uihelper.common import get_state_as_dict
-import time
-from uitest.debug import sleep
 from uitest.uihelper.common import select_pos
 
 class autocorrectOptions(UITestCase):
diff --git a/sc/qa/uitest/calc_tests6/hideShowSheet.py 
b/sc/qa/uitest/calc_tests6/hideShowSheet.py
index ade9191983f1..c6fccd92561b 100644
--- a/sc/qa/uitest/calc_tests6/hideShowSheet.py
+++ b/sc/qa/uitest/calc_tests6/hideShowSheet.py
@@ -6,9 +6,6 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
-from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 #uitest sc / Show sheet dialog
 
diff --git a/sc/qa/uitest/calc_tests6/moveCopySheet.py 
b/sc/qa/uitest/calc_tests6/moveCopySheet.py
index 16370451e893..8a0465c376e8 100644
--- a/sc/qa/uitest/calc_tests6/moveCopySheet.py
+++ b/sc/qa/uitest/calc_tests6/moveCopySheet.py
@@ -6,10 +6,6 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
-from uitest.uihelper.common import select_pos
-from uitest.debug import sleep
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 #uitest sc - move/copy sheet dialog
 
diff --git a/sc/qa/uitest/calc_tests6/multipleOperations.py 
b/sc/qa/uitest/calc_tests6/multipleOperations.py
index 34fc4691d56a..1f60937b056a 100644
--- a/sc/qa/uitest/calc_tests6/multipleOperations.py
+++ b/sc/qa/uitest/calc_tests6/multipleOperations.py
@@ -6,12 +6,8 @@
 
 from uitest.framework import UITestCase
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict
-import time
 from libreoffice.calc.document import get_cell_by_position
 from uitest.uihelper.calc import enter_text_to_cell
-from uitest.debug import sleep
-from uitest.uihelper.common import select_pos
 
 
#https://www.linuxtopia.org/online_books/office_guides/openoffice_3_calc_user_guide/openoffice_calc_Multiple_operations_Multiple_operations_in_columns_or_rows.html
 
diff --git a/sc/qa/uitest/calc_tests6/scenarios.py 
b/sc/qa/uitest/calc_tests6/scenarios.py
index 67f7952aefe4..64469be7a2ea 100644
--- a/sc/qa/uitest/calc_tests6/scenarios.py
+++ b/sc/qa/uitest/calc_tests6/scenarios.py
@@ -6,12 +6,7 @@
 
 from uitest.framework import UITestCase
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict
-import time
-from libreoffice.calc.document import get_cell_by_position
 from uitest.uihelper.calc import enter_text_to_cell
-from uitest.debug import sleep
-from uitest.uihelper.common import select_pos
 
 # uitest Tools - Scenarios
 
diff --git a/sc/qa/uitest/calc_tests6/shareSpreadsheet.py 
b/sc/qa/uitest/calc_tests6/shareSpreadsheet.py
index a2f5be55515d..032b32271e9a 100644
--- a/sc/qa/uitest/calc_tests6/shareSpreadsheet.py
+++ b/sc/qa/uitest/calc_tests6/shareSpreadsheet.py
@@ -5,13 +5,7 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 from uitest.framework import UITestCase
-from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.uihelper.common import get_state_as_dict
-import time
-from libreoffice.calc.document import get_cell_by_position
-from uitest.uihelper.calc import enter_text_to_cell
-from uitest.debug import sleep
-from uitest.uihelper.common import select_pos
 
 #just open dialog, select Share, check name and cancel [save not allowed in 
uitest]
 
diff --git a/sc/qa/uitest/calc_tests6/tdf107267.py 
b/sc/qa/uitest/calc_tests6/tdf107267.py
index 57d15dff17e6..e8dd2857a252 100644
--- a/sc/qa/uitest/calc_tests6/tdf107267.py
+++ b/sc/qa/uitest/calc_tests6/tdf107267.py
@@ -7,12 +7,10 @@
 
 from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.framework import UITestCase
-from libreoffice.calc.document import get_column
-from uitest.uihelper.calc import enter_text_to_cell
 from libreoffice.calc.document import get_cell_by_position
 from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import select_by_text
-from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
+from uitest.uihelper.common import get_url_for_data_file
 
 #Bug 107267 - During a sub-total calculation or sum, the data set is not 
computed well.
 class Subtotals(UITestCase):
diff --git a/sc/qa/uitest/calc_tests6/tdf107869.py 
b/sc/qa/uitest/calc_tests6/tdf107869.py
index 3fc73f7e8e02..f07b53e68432 100644
--- a/sc/qa/uitest/calc_tests6/tdf107869.py
+++ b/sc/qa/uitest/calc_tests6/tdf107869.py
@@ -5,9 +5,7 @@
 # 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 select_pos
-from uitest.uihelper.calc import enter_text_to_cell
+from uitest.uihelper.common import get_url_for_data_file
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
diff --git a/sc/qa/uitest/calc_tests6/tdf116996.py 
b/sc/qa/uitest/calc_tests6/tdf116996.py
index 77647d1f5ab1..84047adbb151 100644
--- a/sc/qa/uitest/calc_tests6/tdf116996.py
+++ b/sc/qa/uitest/calc_tests6/tdf116996.py
@@ -6,10 +6,6 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
-from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
-from libreoffice.uno.propertyvalue import mkPropertyValues
 
 #Bug 116996 - Crash recover on selecting Tools -> Options -> Advanced: Enable 
experimental features
 
diff --git a/sc/qa/uitest/calc_tests6/tdf118638.py 
b/sc/qa/uitest/calc_tests6/tdf118638.py
index 5bc25663fcbe..2e1b704a82d9 100644
--- a/sc/qa/uitest/calc_tests6/tdf118638.py
+++ b/sc/qa/uitest/calc_tests6/tdf118638.py
@@ -7,13 +7,10 @@
 
 from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.framework import UITestCase
-from libreoffice.calc.document import get_column
-from uitest.uihelper.calc import enter_text_to_cell
 from libreoffice.calc.document import get_cell_by_position
 from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import select_by_text
-from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
-
+from uitest.uihelper.common import get_url_for_data_file
 #Bug 118638 - subtotal option loses doesn't contain existing format for column
 class Subtotals(UITestCase):
 
diff --git a/sc/qa/uitest/calc_tests6/tdf121263.py 
b/sc/qa/uitest/calc_tests6/tdf121263.py
index 70466bbf81ab..9d80fc24c64d 100644
--- a/sc/qa/uitest/calc_tests6/tdf121263.py
+++ b/sc/qa/uitest/calc_tests6/tdf121263.py
@@ -8,9 +8,7 @@
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
 from uitest.framework import UITestCase
-from libreoffice.calc.document import get_column
 from uitest.uihelper.common import get_state_as_dict
-from libreoffice.calc.document import get_cell_by_position
 
 class tdf121263(UITestCase):
 
diff --git a/sc/qa/uitest/calc_tests6/tdf91726.py 
b/sc/qa/uitest/calc_tests6/tdf91726.py
index 38703cb7e34a..402179a30c1d 100644
--- a/sc/qa/uitest/calc_tests6/tdf91726.py
+++ b/sc/qa/uitest/calc_tests6/tdf91726.py
@@ -6,10 +6,6 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
-from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
-from uitest.debug import sleep
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 #Bug 91726 - AutoFormat: Crash when using an existing name for a new preset
 
diff --git a/sc/qa/uitest/calc_tests7/tdf106667.py 
b/sc/qa/uitest/calc_tests7/tdf106667.py
index 5475c76808bb..6c2792d1b403 100644
--- a/sc/qa/uitest/calc_tests7/tdf106667.py
+++ b/sc/qa/uitest/calc_tests7/tdf106667.py
@@ -9,7 +9,6 @@ from uitest.framework import UITestCase
 from uitest.uihelper.calc import enter_text_to_cell
 from libreoffice.uno.propertyvalue import mkPropertyValues
 from libreoffice.calc.document import get_cell_by_position
-from uitest.debug import sleep
 
 class tdf106667(UITestCase):
 
diff --git a/sc/qa/uitest/calc_tests7/tdf122509.py 
b/sc/qa/uitest/calc_tests7/tdf122509.py
index 9804b23ec528..e1abea4347a1 100644
--- a/sc/qa/uitest/calc_tests7/tdf122509.py
+++ b/sc/qa/uitest/calc_tests7/tdf122509.py
@@ -7,9 +7,6 @@
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
 from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_sheet_from_doc
-from libreoffice.calc.conditional_format import 
get_conditional_format_from_sheet
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
diff --git a/sc/qa/uitest/calc_tests7/tdf123122.py 
b/sc/qa/uitest/calc_tests7/tdf123122.py
index f489f3c2fa98..d8d845b6c6e2 100644
--- a/sc/qa/uitest/calc_tests7/tdf123122.py
+++ b/sc/qa/uitest/calc_tests7/tdf123122.py
@@ -7,11 +7,6 @@
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
 from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_sheet_from_doc
-from libreoffice.calc.conditional_format import 
get_conditional_format_from_sheet
-from uitest.debug import sleep
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
 #Bug 123122 - Invoking the number format dialog the format code field is blank 
for a user-defined date+time format.
diff --git a/sc/qa/uitest/calc_tests7/tdf124818.py 
b/sc/qa/uitest/calc_tests7/tdf124818.py
index e1fabbf65940..5101be90a91a 100644
--- a/sc/qa/uitest/calc_tests7/tdf124818.py
+++ b/sc/qa/uitest/calc_tests7/tdf124818.py
@@ -5,12 +5,7 @@
 # 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 select_pos
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, type_text
+from uitest.uihelper.common import get_url_for_data_file
 
 #Bug 124818 - CRASH: selecting all and switching spreadsheet
 
diff --git a/sc/qa/uitest/calc_tests7/tdf124896.py 
b/sc/qa/uitest/calc_tests7/tdf124896.py
index 7552ba63a78f..128f4d270223 100644
--- a/sc/qa/uitest/calc_tests7/tdf124896.py
+++ b/sc/qa/uitest/calc_tests7/tdf124896.py
@@ -5,11 +5,7 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 from uitest.framework import UITestCase
-from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file, 
type_text
+from uitest.uihelper.common import get_url_for_data_file
 
 # Bug 124896 - CRASH: deleting sheet
 
diff --git a/sc/qa/uitest/calc_tests7/tdf125030.py 
b/sc/qa/uitest/calc_tests7/tdf125030.py
index 5aaa81abca9a..51d9cb292a77 100644
--- a/sc/qa/uitest/calc_tests7/tdf125030.py
+++ b/sc/qa/uitest/calc_tests7/tdf125030.py
@@ -5,9 +5,6 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 from uitest.framework import UITestCase
-import os
-from uitest.uihelper.common import get_state_as_dict
-from uitest.debug import sleep
 from libreoffice.uno.propertyvalue import mkPropertyValues
 from libreoffice.calc.document import get_cell_by_position
 from uitest.uihelper.calc import enter_text_to_cell
diff --git a/sc/qa/uitest/calc_tests7/tdf31805.py 
b/sc/qa/uitest/calc_tests7/tdf31805.py
index c8a5882e9696..8c7fc1227912 100644
--- a/sc/qa/uitest/calc_tests7/tdf31805.py
+++ b/sc/qa/uitest/calc_tests7/tdf31805.py
@@ -5,9 +5,7 @@
 # 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 select_pos
-from uitest.uihelper.calc import enter_text_to_cell
+from uitest.uihelper.common import get_url_for_data_file
 from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
diff --git a/sc/qa/uitest/calc_tests7/tdf45020.py 
b/sc/qa/uitest/calc_tests7/tdf45020.py
index 270446941b02..48ca97fe51a5 100644
--- a/sc/qa/uitest/calc_tests7/tdf45020.py
+++ b/sc/qa/uitest/calc_tests7/tdf45020.py
@@ -6,9 +6,7 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
-from uitest.uihelper.common import select_pos
 from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
 class tdf45020(UITestCase):
diff --git a/sc/qa/uitest/calc_tests7/tdf91425.py 
b/sc/qa/uitest/calc_tests7/tdf91425.py
index 144f62334852..36f8966adf48 100644
--- a/sc/qa/uitest/calc_tests7/tdf91425.py
+++ b/sc/qa/uitest/calc_tests7/tdf91425.py
@@ -6,7 +6,7 @@
 
 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, 
type_text
+from uitest.uihelper.common import get_url_for_data_file
 from libreoffice.calc.document import get_cell_by_position
 
 #Bug 91425 - CRASH - Calc Insert Columns Left
diff --git a/sc/qa/uitest/chart/chartTitles.py 
b/sc/qa/uitest/chart/chartTitles.py
index e1e715577ba8..35765ba6b05a 100644
--- a/sc/qa/uitest/chart/chartTitles.py
+++ b/sc/qa/uitest/chart/chartTitles.py
@@ -5,12 +5,12 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 from uitest.framework import UITestCase
-from uitest.uihelper.common import select_pos
+
 from uitest.uihelper.common import change_measurement_unit
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
+
+
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file, 
type_text
+from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
 
 #Chart Display Titles dialog
 
diff --git a/sw/qa/python/check_cross_references.py 
b/sw/qa/python/check_cross_references.py
index 6aad1c47ca3a..de51d919c7c8 100644
--- a/sw/qa/python/check_cross_references.py
+++ b/sw/qa/python/check_cross_references.py
@@ -16,17 +16,6 @@
     the License at http://www.apache.org/licenses/LICENSE-2.0 .
 '''
 import unittest
-import unohelper
-import os
-from com.sun.star.lang import XMultiServiceFactory
-from com.sun.star.text import XTextDocument
-from com.sun.star.text import XTextField
-from com.sun.star.container import XEnumeration
-from com.sun.star.util import XRefreshable
-from com.sun.star.container import XEnumerationAccess
-from com.sun.star.beans import XPropertySet
-from com.sun.star.text import XTextFieldsSupplier
-from com.sun.star.container import XNamed
 from com.sun.star.text.ReferenceFieldPart import (NUMBER, NUMBER_NO_CONTEXT, 
NUMBER_FULL_CONTEXT, TEXT)
 from com.sun.star.text.ReferenceFieldSource import BOOKMARK
 from org.libreoffice.unotest import UnoInProcess
diff --git a/sw/qa/python/check_indexed_property_values.py 
b/sw/qa/python/check_indexed_property_values.py
index ceaf82a6cac6..4179872cea4b 100644
--- a/sw/qa/python/check_indexed_property_values.py
+++ b/sw/qa/python/check_indexed_property_values.py
@@ -17,12 +17,9 @@
 '''
 
 import unittest
-import unohelper
 import uno
 from org.libreoffice.unotest import UnoInProcess
 from com.sun.star.beans import PropertyValue
-from com.sun.star.container import XIndexContainer
-from org.libreoffice.unotest import OfficeConnection
 from com.sun.star.lang import IllegalArgumentException
 from com.sun.star.lang import IndexOutOfBoundsException
 
diff --git a/sw/qa/python/check_named_property_values.py 
b/sw/qa/python/check_named_property_values.py
index 1a81d13a6323..d11ee2e46651 100644
--- a/sw/qa/python/check_named_property_values.py
+++ b/sw/qa/python/check_named_property_values.py
@@ -17,13 +17,9 @@
 '''
 
 import unittest
-import unohelper
-import os
 import uno
 from org.libreoffice.unotest import UnoInProcess
 from com.sun.star.beans import PropertyValue
-from com.sun.star.container import XNameContainer
-from org.libreoffice.unotest import OfficeConnection
 from com.sun.star.container import ElementExistException
 from com.sun.star.lang import IllegalArgumentException
 from com.sun.star.container import NoSuchElementException
diff --git a/sw/qa/python/check_range_properties.py 
b/sw/qa/python/check_range_properties.py
index 2be93686242a..26babf5220ce 100644
--- a/sw/qa/python/check_range_properties.py
+++ b/sw/qa/python/check_range_properties.py
@@ -7,13 +7,8 @@
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
-import math
 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 CheckRangeProperties(unittest.TestCase):
diff --git a/sw/qa/python/check_styles.py b/sw/qa/python/check_styles.py
index 48a46a770988..d19f9850b445 100644
--- a/sw/qa/python/check_styles.py
+++ b/sw/qa/python/check_styles.py
@@ -7,7 +7,6 @@
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
-import math
 import unittest
 from org.libreoffice.unotest import UnoInProcess
 from com.sun.star.container import NoSuchElementException
diff --git a/sw/qa/python/check_xautotextcontainer.py 
b/sw/qa/python/check_xautotextcontainer.py
index c460c3d0eaa6..b01125dca3f4 100644
--- a/sw/qa/python/check_xautotextcontainer.py
+++ b/sw/qa/python/check_xautotextcontainer.py
@@ -11,7 +11,6 @@ import unittest
 from org.libreoffice.unotest import UnoInProcess
 from com.sun.star.container import NoSuchElementException
 from com.sun.star.lang import IllegalArgumentException
-from com.sun.star.uno import RuntimeException
 
 class XAutoTextContainer(unittest.TestCase):
     # 0 indicates the path of the Office Basis layer
diff --git a/sw/qa/python/check_xautotextgroup.py 
b/sw/qa/python/check_xautotextgroup.py
index a41987103e6b..504f12dcd422 100644
--- a/sw/qa/python/check_xautotextgroup.py
+++ b/sw/qa/python/check_xautotextgroup.py
@@ -11,7 +11,6 @@ import unittest
 from org.libreoffice.unotest import UnoInProcess
 from com.sun.star.container import ElementExistException
 from com.sun.star.container import NoSuchElementException
-from com.sun.star.uno import RuntimeException
 
 
 class XAutoTextGroup(unittest.TestCase):
diff --git a/sw/qa/python/check_xmodel.py b/sw/qa/python/check_xmodel.py
index 27740958ddb1..6487b4781be2 100644
--- a/sw/qa/python/check_xmodel.py
+++ b/sw/qa/python/check_xmodel.py
@@ -8,11 +8,9 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 import unittest
-import unohelper
 from org.libreoffice.unotest import UnoInProcess
 from com.sun.star.lang import IllegalArgumentException
 from com.sun.star.beans import PropertyValue
-import uno
 
 
 class TestXModel(unittest.TestCase):
diff --git a/sw/qa/python/text_portion_enumeration_test.py 
b/sw/qa/python/text_portion_enumeration_test.py
index 52b1c2c8b702..47f7c21e5307 100644
--- a/sw/qa/python/text_portion_enumeration_test.py
+++ b/sw/qa/python/text_portion_enumeration_test.py
@@ -20,11 +20,11 @@ This file incorporates work covered by the following 
license notice:
 import uno
 import unittest
 import os.path
-from org.libreoffice.unotest import UnoInProcess, mkPropertyValue
+from org.libreoffice.unotest import UnoInProcess
 from tempfile import TemporaryDirectory
 from com.sun.star.uno import RuntimeException
 from com.sun.star.lang import IllegalArgumentException, NoSupportException
-from com.sun.star.beans import PropertyValue, StringPair
+from com.sun.star.beans import StringPair
 from com.sun.star.rdf.URIs import ODF_PREFIX, ODF_SUFFIX
 from com.sun.star.i18n.NumberFormatIndex import NUMBER_INT
 from com.sun.star.text.ControlCharacter import PARAGRAPH_BREAK, HARD_HYPHEN
diff --git a/sw/qa/python/xcontrolshape.py b/sw/qa/python/xcontrolshape.py
index 336a6d3449c0..899c0c20b863 100644
--- a/sw/qa/python/xcontrolshape.py
+++ b/sw/qa/python/xcontrolshape.py
@@ -8,10 +8,8 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 import unittest
-import unohelper
 from org.libreoffice.unotest import UnoInProcess
 from com.sun.star.beans import UnknownPropertyException
-import uno
 
 
 class TestXControlShape(unittest.TestCase):
diff --git a/sw/qa/python/xstyleloader.py b/sw/qa/python/xstyleloader.py
index ed2d7ffca4a4..92b901b9d527 100644
--- a/sw/qa/python/xstyleloader.py
+++ b/sw/qa/python/xstyleloader.py
@@ -8,11 +8,8 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 
-import os
 import pathlib
 import unittest
-import unohelper
-import uno
 
 from org.libreoffice.unotest import UnoInProcess, makeCopyFromTDOC
 from com.sun.star.beans import PropertyValue
diff --git a/sw/qa/python/xtext.py b/sw/qa/python/xtext.py
index 6d82647bf6b4..db1f83803148 100644
--- a/sw/qa/python/xtext.py
+++ b/sw/qa/python/xtext.py
@@ -11,7 +11,6 @@
 import unittest
 
 from org.libreoffice.unotest import UnoInProcess
-from com.sun.star.lang import IllegalArgumentException
 
 class TestXText(unittest.TestCase):
 
diff --git a/sw/qa/python/xtextcursor.py b/sw/qa/python/xtextcursor.py
index 30d0518690a7..2c374bee5870 100644
--- a/sw/qa/python/xtextcursor.py
+++ b/sw/qa/python/xtextcursor.py
@@ -8,10 +8,7 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 import unittest
-import unohelper
 from org.libreoffice.unotest import UnoInProcess
-import uno
-import time
 
 
 class TestXTextCursor(unittest.TestCase):
diff --git a/sw/qa/python/xtextfieldssupplier.py 
b/sw/qa/python/xtextfieldssupplier.py
index f99b0fc85ab7..76004a095f26 100755
--- a/sw/qa/python/xtextfieldssupplier.py
+++ b/sw/qa/python/xtextfieldssupplier.py
@@ -8,10 +8,8 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 import unittest
-import unohelper
 from org.libreoffice.unotest import UnoInProcess
 from com.sun.star.container import NoSuchElementException
-import uno
 
 
 class TestXTextFieldsSupplier(unittest.TestCase):
diff --git a/sw/qa/python/xtextrange.py b/sw/qa/python/xtextrange.py
index 75e4aed79561..583cabc30aba 100644
--- a/sw/qa/python/xtextrange.py
+++ b/sw/qa/python/xtextrange.py
@@ -8,10 +8,7 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 import unittest
-import unohelper
 from org.libreoffice.unotest import UnoInProcess
-import uno
-import time
 
 
 class TestXTextRange(unittest.TestCase):
diff --git a/sw/qa/uitest/chapterNumbering/chapterNumbering.py 
b/sw/qa/uitest/chapterNumbering/chapterNumbering.py
index 9d3f0b5b4129..b72e6b458ef2 100644
--- a/sw/qa/uitest/chapterNumbering/chapterNumbering.py
+++ b/sw/qa/uitest/chapterNumbering/chapterNumbering.py
@@ -6,9 +6,8 @@
 #
 
 from uitest.framework import UITestCase
-from uitest.debug import sleep
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, type_text
+from uitest.uihelper.common import get_state_as_dict
 from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import select_by_text
 from uitest.uihelper.common import change_measurement_unit
diff --git a/sw/qa/uitest/chapterNumbering/tdf123547.py 
b/sw/qa/uitest/chapterNumbering/tdf123547.py
index 5e0698f8bd1e..4b2cdf0a5f06 100644
--- a/sw/qa/uitest/chapterNumbering/tdf123547.py
+++ b/sw/qa/uitest/chapterNumbering/tdf123547.py
@@ -5,9 +5,7 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 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, 
type_text
-from libreoffice.uno.propertyvalue import mkPropertyValues
+from uitest.uihelper.common import get_url_for_data_file
 from uitest.uihelper.common import select_pos
 
 #Bug 123547 - Systematic crash after opening Tools > Chapter Numbering
diff --git a/sw/qa/uitest/classification/classification.py 
b/sw/qa/uitest/classification/classification.py
index 61ed02cbc52a..72f7dd16bb8a 100644
--- a/sw/qa/uitest/classification/classification.py
+++ b/sw/qa/uitest/classification/classification.py
@@ -6,10 +6,7 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import get_state_as_dict
-from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import select_by_text
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
 #TSCP: add advanced classification dialog 
https://cgit.freedesktop.org/libreoffice/core/commit/?id=71ee09947d5a71105d64fd225bb3672dfa7ce834
diff --git a/sw/qa/uitest/findBar/findbar.py b/sw/qa/uitest/findBar/findbar.py
index 2620d39a0a98..75bfbb33abd9 100644
--- a/sw/qa/uitest/findBar/findbar.py
+++ b/sw/qa/uitest/findBar/findbar.py
@@ -8,10 +8,8 @@
 #
 
 from uitest.framework import UITestCase
-import time
-from uitest.uihelper.common import get_state_as_dict, type_text
+from uitest.uihelper.common import get_state_as_dict
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.debug import sleep
 
 #test Find Bar
 class FindBar(UITestCase):
diff --git a/sw/qa/uitest/findReplace/findReplace.py 
b/sw/qa/uitest/findReplace/findReplace.py
index 14c5cf2188ea..46e00135553e 100644
--- a/sw/qa/uitest/findReplace/findReplace.py
+++ b/sw/qa/uitest/findReplace/findReplace.py
@@ -6,8 +6,6 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file, 
type_text
 
diff --git a/sw/qa/uitest/findReplace/tdf106099.py 
b/sw/qa/uitest/findReplace/tdf106099.py
index 8fb8592d6db2..2e8011dab36a 100644
--- a/sw/qa/uitest/findReplace/tdf106099.py
+++ b/sw/qa/uitest/findReplace/tdf106099.py
@@ -5,14 +5,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
 from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import select_by_text
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, type_text
-from uitest.debug import sleep
+from uitest.uihelper.common import get_state_as_dict
 
 #Bug 106099 - Find and replace by format, font color added by force
 
diff --git a/sw/qa/uitest/findReplace/tdf118208.py 
b/sw/qa/uitest/findReplace/tdf118208.py
index 3e2b4373221f..c602158b17a4 100644
--- a/sw/qa/uitest/findReplace/tdf118208.py
+++ b/sw/qa/uitest/findReplace/tdf118208.py
@@ -5,11 +5,7 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 from uitest.framework import UITestCase
-from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file, 
type_text
+from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
 
 #Find and replace
 #tdf118208/118212 - enabling either CJK or CTL, or both (Tools -> Options -> 
Language Settings -> Languages: Default Languages for Documents checkboxes)
diff --git a/sw/qa/uitest/findReplace/tdf119462.py 
b/sw/qa/uitest/findReplace/tdf119462.py
index e87cd8e7b856..8623873cbd02 100644
--- a/sw/qa/uitest/findReplace/tdf119462.py
+++ b/sw/qa/uitest/findReplace/tdf119462.py
@@ -5,13 +5,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
 from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, type_text
-from uitest.debug import sleep
+from uitest.uihelper.common import get_state_as_dict
 
 #Bug 119462 - Find with formatting adds 0pt text size
 
diff --git a/sw/qa/uitest/findSimilarity/findSimilarity.py 
b/sw/qa/uitest/findSimilarity/findSimilarity.py
index cb62e5528c4f..ea8929983f80 100644
--- a/sw/qa/uitest/findSimilarity/findSimilarity.py
+++ b/sw/qa/uitest/findSimilarity/findSimilarity.py
@@ -5,11 +5,8 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 from uitest.framework import UITestCase
-from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file, 
type_text
+from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
 
 #Find similarities
 
diff --git a/sw/qa/uitest/librelogo/compile.py 
b/sw/qa/uitest/librelogo/compile.py
index 89e538b8c926..1fb90e955f31 100644
--- a/sw/qa/uitest/librelogo/compile.py
+++ b/sw/qa/uitest/librelogo/compile.py
@@ -5,13 +5,8 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 from uitest.framework import UITestCase
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, type_text
 
-import time, re
-from uitest.debug import sleep
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import select_pos
+import re
 
 class LibreLogoCompileTest(UITestCase):
    LIBRELOGO_PATH = 
"vnd.sun.star.script:LibreLogo|LibreLogo.py$%s?language=Python&location=share"
diff --git a/sw/qa/uitest/librelogo/run.py b/sw/qa/uitest/librelogo/run.py
index 7b243f00b952..26b8f5c7df44 100644
--- a/sw/qa/uitest/librelogo/run.py
+++ b/sw/qa/uitest/librelogo/run.py
@@ -5,13 +5,7 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 from uitest.framework import UITestCase
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, type_text
-
-import time
-from uitest.debug import sleep
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import select_pos
+from uitest.uihelper.common import type_text
 
 class LibreLogoTest(UITestCase):
    LIBRELOGO_PATH = 
"vnd.sun.star.script:LibreLogo|LibreLogo.py$%s?language=Python&location=share"
diff --git a/sw/qa/uitest/options/tdf78133.py b/sw/qa/uitest/options/tdf78133.py
index de1f2124200f..883c38231aa9 100644
--- a/sw/qa/uitest/options/tdf78133.py
+++ b/sw/qa/uitest/options/tdf78133.py
@@ -6,8 +6,6 @@
 #
 
 from uitest.framework import UITestCase
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.debug import sleep
 from uitest.uihelper.common import get_state_as_dict
 
 #Bug 78133 - LibO crashes when in options dialog
diff --git a/sw/qa/uitest/table/sheetToTable.py 
b/sw/qa/uitest/table/sheetToTable.py
index e47d26a52dc4..7beff37c6c8d 100644
--- a/sw/qa/uitest/table/sheetToTable.py
+++ b/sw/qa/uitest/table/sheetToTable.py
@@ -5,9 +5,8 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 from uitest.framework import UITestCase
-from uitest.uihelper.common import select_pos
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file, 
type_text
+from uitest.uihelper.common import get_url_for_data_file
 from uitest.uihelper.calc import enter_text_to_cell
 
 #Calc sheet to Writer table
diff --git a/sw/qa/uitest/table/splitTable.py b/sw/qa/uitest/table/splitTable.py
index 8994273c4633..402aab45d543 100644
--- a/sw/qa/uitest/table/splitTable.py
+++ b/sw/qa/uitest/table/splitTable.py
@@ -5,11 +5,7 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 from uitest.framework import UITestCase
-from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file, 
type_text
+from uitest.uihelper.common import get_url_for_data_file
 
 #Writer Split Table
 
diff --git a/sw/qa/uitest/table/tableProperties.py 
b/sw/qa/uitest/table/tableProperties.py
index 59778405bb3d..da75f2218255 100644
--- a/sw/qa/uitest/table/tableProperties.py
+++ b/sw/qa/uitest/table/tableProperties.py
@@ -7,10 +7,8 @@
 from uitest.framework import UITestCase
 from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import select_by_text
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file, 
type_text
+from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
 from uitest.uihelper.common import change_measurement_unit
 
 #Writer Table Properties
diff --git a/sw/qa/uitest/table/tableToText.py 
b/sw/qa/uitest/table/tableToText.py
index 003f46e20548..f131f914c93e 100644
--- a/sw/qa/uitest/table/tableToText.py
+++ b/sw/qa/uitest/table/tableToText.py
@@ -5,11 +5,8 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 from uitest.framework import UITestCase
-from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file, 
type_text
+from uitest.uihelper.common import get_url_for_data_file
 
 #Writer Table to text
 
diff --git a/sw/qa/uitest/table/tdf115026.py b/sw/qa/uitest/table/tdf115026.py
index 7e8edcf4260c..92314753a8c3 100644
--- a/sw/qa/uitest/table/tdf115026.py
+++ b/sw/qa/uitest/table/tdf115026.py
@@ -6,7 +6,6 @@
 #
 
 from uitest.framework import UITestCase
-from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.uihelper.common import get_state_as_dict
 
 class tdf115026(UITestCase):
diff --git a/sw/qa/uitest/table/tdf116737.py b/sw/qa/uitest/table/tdf116737.py
index 7b27020e495e..139fcea3a812 100644
--- a/sw/qa/uitest/table/tdf116737.py
+++ b/sw/qa/uitest/table/tdf116737.py
@@ -6,9 +6,7 @@
 #
 
 from uitest.framework import UITestCase
-from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.uihelper.common import get_state_as_dict
-from uitest.debug import sleep
 from uitest.uihelper.common import select_pos
 
 #Bug 116737 - INSERT TABLE: Can't select table style (gen/gtk)
diff --git a/sw/qa/uitest/table/tdf128593.py b/sw/qa/uitest/table/tdf128593.py
index 26f9d903be27..3306a58d2b09 100755
--- a/sw/qa/uitest/table/tdf128593.py
+++ b/sw/qa/uitest/table/tdf128593.py
@@ -2,7 +2,6 @@
 
 from uitest.framework import UITestCase
 from libreoffice.uno.propertyvalue import mkPropertyValues
-import importlib
 from uitest.uihelper.common import get_state_as_dict
 
 #https://bugs.documentfoundation.org/show_bug.cgi?id=128593
diff --git a/sw/qa/uitest/table/tdf134881_colProportionalAdjust.py 
b/sw/qa/uitest/table/tdf134881_colProportionalAdjust.py
index c1b4aea8b4eb..019c492374a1 100644
--- a/sw/qa/uitest/table/tdf134881_colProportionalAdjust.py
+++ b/sw/qa/uitest/table/tdf134881_colProportionalAdjust.py
@@ -6,7 +6,7 @@
 #
 from uitest.framework import UITestCase
 from uitest.uihelper.common import select_pos
-from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file, 
type_text
+from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file
 from uitest.uihelper.common import change_measurement_unit
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
diff --git a/sw/qa/uitest/table/tdf81292.py b/sw/qa/uitest/table/tdf81292.py
index 68a79e6733d7..343b1a89bb13 100644
--- a/sw/qa/uitest/table/tdf81292.py
+++ b/sw/qa/uitest/table/tdf81292.py
@@ -5,8 +5,7 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 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, 
type_text
+from uitest.uihelper.common import get_url_for_data_file
 
 #Bug 81292 - TABLE: Crashes on sorting table
 
diff --git a/sw/qa/uitest/table/tdf99334.py b/sw/qa/uitest/table/tdf99334.py
index 8c97aff57940..e87226a0c485 100644
--- a/sw/qa/uitest/table/tdf99334.py
+++ b/sw/qa/uitest/table/tdf99334.py
@@ -5,8 +5,7 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 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, 
type_text
+from uitest.uihelper.common import get_url_for_data_file
 
 #Bug 99334 - Crashes when sorting table by columns with umlauts
 
diff --git a/sw/qa/uitest/table/textToTable.py 
b/sw/qa/uitest/table/textToTable.py
index d41c514d2716..d901ae6d2c04 100644
--- a/sw/qa/uitest/table/textToTable.py
+++ b/sw/qa/uitest/table/textToTable.py
@@ -5,11 +5,8 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 from uitest.framework import UITestCase
-from uitest.uihelper.common import select_pos
-from uitest.uihelper.calc import enter_text_to_cell
-from libreoffice.calc.document import get_cell_by_position
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, get_url_for_data_file, 
type_text
+from uitest.uihelper.common import get_url_for_data_file, type_text
 
 #Writer Text to table
 
diff --git a/sw/qa/uitest/ui/fmtui/fmtui.py b/sw/qa/uitest/ui/fmtui/fmtui.py
index d147022635fb..36e00c95a479 100644
--- a/sw/qa/uitest/ui/fmtui/fmtui.py
+++ b/sw/qa/uitest/ui/fmtui/fmtui.py
@@ -8,8 +8,6 @@
 """Covers sw/source/ui/fmtui/ fixes."""
 
 from uitest.framework import UITestCase
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.debug import sleep
 from uitest.uihelper.common import get_state_as_dict
 from uitest.uihelper.common import select_pos
 
diff --git a/sw/qa/uitest/writer_tests/comments.py 
b/sw/qa/uitest/writer_tests/comments.py
index c846372a99aa..66ecb06bb246 100644
--- a/sw/qa/uitest/writer_tests/comments.py
+++ b/sw/qa/uitest/writer_tests/comments.py
@@ -8,11 +8,8 @@
 #
 
 from uitest.framework import UITestCase
-import time
-from uitest.uihelper.common import get_state_as_dict, type_text
+from uitest.uihelper.common import get_state_as_dict
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.debug import sleep
-from uitest.config import DEFAULT_SLEEP
 #test comments
 
 class Comments(UITestCase):
diff --git a/sw/qa/uitest/writer_tests/insertCaption.py 
b/sw/qa/uitest/writer_tests/insertCaption.py
index de73b3b767e5..57f6273875db 100644
--- a/sw/qa/uitest/writer_tests/insertCaption.py
+++ b/sw/qa/uitest/writer_tests/insertCaption.py
@@ -6,9 +6,6 @@
 
 from uitest.framework import UITestCase
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict
-import time
-from uitest.debug import sleep
 from uitest.uihelper.common import select_pos
 
 class insertCaption(UITestCase):
diff --git a/sw/qa/uitest/writer_tests/tdf137459_editeng_ctrl-DEL.py 
b/sw/qa/uitest/writer_tests/tdf137459_editeng_ctrl-DEL.py
index 97e60b8c07de..9adbd2047d37 100644
--- a/sw/qa/uitest/writer_tests/tdf137459_editeng_ctrl-DEL.py
+++ b/sw/qa/uitest/writer_tests/tdf137459_editeng_ctrl-DEL.py
@@ -8,7 +8,7 @@
 #
 
 from uitest.framework import UITestCase
-from uitest.uihelper.common import get_state_as_dict, type_text
+from uitest.uihelper.common import get_state_as_dict
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
 class tdf137459(UITestCase):
diff --git a/sw/qa/uitest/writer_tests/tdf53460.py 
b/sw/qa/uitest/writer_tests/tdf53460.py
index f8fc0ad47451..7f4b57416e6f 100644
--- a/sw/qa/uitest/writer_tests/tdf53460.py
+++ b/sw/qa/uitest/writer_tests/tdf53460.py
@@ -7,7 +7,6 @@
 
 from uitest.framework import UITestCase
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.debug import sleep
 
 class tdf53460(UITestCase):
 
diff --git a/sw/qa/uitest/writer_tests/tdf78068.py 
b/sw/qa/uitest/writer_tests/tdf78068.py
index 145b0bd99b51..1989722a3b1f 100644
--- a/sw/qa/uitest/writer_tests/tdf78068.py
+++ b/sw/qa/uitest/writer_tests/tdf78068.py
@@ -5,12 +5,8 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 from uitest.framework import UITestCase
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, type_text
+from uitest.uihelper.common import type_text
 
-import time
-from uitest.debug import sleep
-from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.uihelper.common import select_pos
 
 class tdf78068(UITestCase):
@@ -33,4 +29,4 @@ class tdf78068(UITestCase):
         self.assertEqual(document.Text.String[0:4], "Test")
         self.ui_test.close_doc()
 
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sw/qa/uitest/writer_tests/tdf81457.py 
b/sw/qa/uitest/writer_tests/tdf81457.py
index f8b93a9bc60a..bf615f99c2b0 100644
--- a/sw/qa/uitest/writer_tests/tdf81457.py
+++ b/sw/qa/uitest/writer_tests/tdf81457.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
 from uitest.uihelper.common import select_pos
 
@@ -41,4 +40,4 @@ class tdf81457(UITestCase):
 
         self.ui_test.close_doc()
 
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sw/qa/uitest/writer_tests/watermark.py 
b/sw/qa/uitest/writer_tests/watermark.py
index 0d918e92d061..3cf7c6fd84f6 100644
--- a/sw/qa/uitest/writer_tests/watermark.py
+++ b/sw/qa/uitest/writer_tests/watermark.py
@@ -7,9 +7,6 @@
 from uitest.framework import UITestCase
 from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.uihelper.common import get_state_as_dict
-import time
-from uitest.debug import sleep
-from uitest.uihelper.common import select_pos
 
 
 class watermark(UITestCase):
diff --git a/sw/qa/uitest/writer_tests2/asianPhoneticGuide.py 
b/sw/qa/uitest/writer_tests2/asianPhoneticGuide.py
index 137444857258..39ba7eb3595a 100644
--- a/sw/qa/uitest/writer_tests2/asianPhoneticGuide.py
+++ b/sw/qa/uitest/writer_tests2/asianPhoneticGuide.py
@@ -6,11 +6,7 @@
 
 from uitest.framework import UITestCase
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict
 from uitest.uihelper.common import select_by_text
-import time
-from uitest.debug import sleep
-from uitest.uihelper.common import select_pos
 
 class asianPhoneticGuide(UITestCase):
 
diff --git a/sw/qa/uitest/writer_tests2/bookmark.py 
b/sw/qa/uitest/writer_tests2/bookmark.py
index 9cbf82c29b41..57ab151adbcb 100644
--- a/sw/qa/uitest/writer_tests2/bookmark.py
+++ b/sw/qa/uitest/writer_tests2/bookmark.py
@@ -8,10 +8,8 @@
 #
 
 from uitest.framework import UITestCase
-import time
 from uitest.uihelper.common import get_state_as_dict, type_text
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.debug import sleep
 #test bookmark dialog
 class bookmarkDialog(UITestCase):
 
diff --git a/sw/qa/uitest/writer_tests2/deleteAllComments.py 
b/sw/qa/uitest/writer_tests2/deleteAllComments.py
index 8633e77d49eb..e6832af6cb62 100644
--- a/sw/qa/uitest/writer_tests2/deleteAllComments.py
+++ b/sw/qa/uitest/writer_tests2/deleteAllComments.py
@@ -5,8 +5,7 @@
 #
 
 from uitest.framework import UITestCase
-import time
-from uitest.uihelper.common import get_state_as_dict, type_text
+from uitest.uihelper.common import type_text
 
 class DeleteAllComments(UITestCase):
 
@@ -16,7 +15,7 @@ class DeleteAllComments(UITestCase):
 
         xWriterDoc = self.xUITest.getTopFocusWindow()
         xWriterEdit = xWriterDoc.getChild("writer_edit")
-        
+
 
         type_text(xWriterEdit, "Test LibreOffice")
 
diff --git a/sw/qa/uitest/writer_tests2/exchangeDatabase.py 
b/sw/qa/uitest/writer_tests2/exchangeDatabase.py
index d255bd15291b..3f3a49660bfc 100644
--- a/sw/qa/uitest/writer_tests2/exchangeDatabase.py
+++ b/sw/qa/uitest/writer_tests2/exchangeDatabase.py
@@ -6,10 +6,7 @@
 #
 
 from uitest.framework import UITestCase
-import time
-from uitest.uihelper.common import get_state_as_dict, type_text
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.debug import sleep
+from uitest.uihelper.common import get_state_as_dict
 
 class exchangeDB(UITestCase):
 
diff --git a/sw/qa/uitest/writer_tests2/fontworks.py 
b/sw/qa/uitest/writer_tests2/fontworks.py
index 671f63087ba4..4d4044ab2bd0 100644
--- a/sw/qa/uitest/writer_tests2/fontworks.py
+++ b/sw/qa/uitest/writer_tests2/fontworks.py
@@ -8,9 +8,8 @@
 #
 
 from uitest.framework import UITestCase
-from uitest.uihelper.common import get_state_as_dict, type_text
+from uitest.uihelper.common import get_state_as_dict
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.debug import sleep
 #test FontWorks dialog
 class fontWorksDialog(UITestCase):
 
@@ -42,4 +41,4 @@ class fontWorksDialog(UITestCase):
 
         self.ui_test.close_doc()
 
-# vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/sw/qa/uitest/writer_tests2/formatBulletsNumbering.py 
b/sw/qa/uitest/writer_tests2/formatBulletsNumbering.py
index ab053a115b4e..4633666f468d 100644
--- a/sw/qa/uitest/writer_tests2/formatBulletsNumbering.py
+++ b/sw/qa/uitest/writer_tests2/formatBulletsNumbering.py
@@ -5,11 +5,8 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 from uitest.framework import UITestCase
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, type_text
+from uitest.uihelper.common import get_state_as_dict
 
-import time
-from uitest.debug import sleep
 from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import select_by_text
diff --git a/sw/qa/uitest/writer_tests2/formatCharacter.py 
b/sw/qa/uitest/writer_tests2/formatCharacter.py
index afb7b555ba54..c0106ddcd47e 100644
--- a/sw/qa/uitest/writer_tests2/formatCharacter.py
+++ b/sw/qa/uitest/writer_tests2/formatCharacter.py
@@ -5,11 +5,8 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 from uitest.framework import UITestCase
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, type_text
+from uitest.uihelper.common import get_state_as_dict
 
-import time
-from uitest.debug import sleep
 from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import select_by_text
diff --git a/sw/qa/uitest/writer_tests2/formatParagraph.py 
b/sw/qa/uitest/writer_tests2/formatParagraph.py
index edd37982d2bf..00cce192cb0b 100644
--- a/sw/qa/uitest/writer_tests2/formatParagraph.py
+++ b/sw/qa/uitest/writer_tests2/formatParagraph.py
@@ -5,11 +5,8 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 from uitest.framework import UITestCase
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, type_text
+from uitest.uihelper.common import get_state_as_dict
 
-import time
-from uitest.debug import sleep
 from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import select_by_text
diff --git a/sw/qa/uitest/writer_tests2/horizontalLine.py 
b/sw/qa/uitest/writer_tests2/horizontalLine.py
index c102f603157d..f004badfc6ec 100644
--- a/sw/qa/uitest/writer_tests2/horizontalLine.py
+++ b/sw/qa/uitest/writer_tests2/horizontalLine.py
@@ -6,9 +6,7 @@
 #
 
 from uitest.framework import UITestCase
-from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.uihelper.common import get_state_as_dict, type_text
-from uitest.debug import sleep
 
 class WriterInsertHorizontalLine(UITestCase):
 
diff --git a/sw/qa/uitest/writer_tests2/insertFootnote.py 
b/sw/qa/uitest/writer_tests2/insertFootnote.py
index 6bd4db73f0bc..e391f6520477 100644
--- a/sw/qa/uitest/writer_tests2/insertFootnote.py
+++ b/sw/qa/uitest/writer_tests2/insertFootnote.py
@@ -5,10 +5,7 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 from uitest.framework import UITestCase
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, type_text
-import time
-from uitest.debug import sleep
+from uitest.uihelper.common import type_text
 
 class insertFootnote(UITestCase):
 
diff --git a/sw/qa/uitest/writer_tests2/tdf116474.py 
b/sw/qa/uitest/writer_tests2/tdf116474.py
index 9dbdd447171a..e6436b73fd73 100644
--- a/sw/qa/uitest/writer_tests2/tdf116474.py
+++ b/sw/qa/uitest/writer_tests2/tdf116474.py
@@ -4,8 +4,7 @@
 
 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
-from uitest.uihelper.common import select_pos
+from uitest.uihelper.common import get_url_for_data_file
 
 #Bug 116474 - Undo/redo: The redo of adding caption to an image isn't working: 
no image
 
diff --git a/sw/qa/uitest/writer_tests3/autoredactDialog.py 
b/sw/qa/uitest/writer_tests3/autoredactDialog.py
index 015081431d7a..240e4bd8bce5 100644
--- a/sw/qa/uitest/writer_tests3/autoredactDialog.py
+++ b/sw/qa/uitest/writer_tests3/autoredactDialog.py
@@ -5,14 +5,10 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 from uitest.framework import UITestCase
-from libreoffice.uno.propertyvalue import mkPropertyValues
 from uitest.uihelper.common import get_state_as_dict
 from uitest.uihelper.common import type_text
 from uitest.uihelper.common import select_pos
-from uitest.uihelper.common import select_text
-import time
 import re
-from uitest.debug import sleep
 
 class AutoRedactDialog(UITestCase):
 
diff --git a/sw/qa/uitest/writer_tests3/hyperlinkdialog.py 
b/sw/qa/uitest/writer_tests3/hyperlinkdialog.py
index d3554436a935..3fc53e712eae 100644
--- a/sw/qa/uitest/writer_tests3/hyperlinkdialog.py
+++ b/sw/qa/uitest/writer_tests3/hyperlinkdialog.py
@@ -10,10 +10,8 @@
 from uitest.framework import UITestCase
 import os
 import re
-import time
-from uitest.uihelper.common import get_state_as_dict, type_text
+from uitest.uihelper.common import get_state_as_dict
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.debug import sleep
 
 #test Hyperlink dialog
 class HyperlinkDialog(UITestCase):
diff --git a/sw/qa/uitest/writer_tests3/insertEndnote.py 
b/sw/qa/uitest/writer_tests3/insertEndnote.py
index 705fce6cef54..54dd15e346b5 100644
--- a/sw/qa/uitest/writer_tests3/insertEndnote.py
+++ b/sw/qa/uitest/writer_tests3/insertEndnote.py
@@ -5,10 +5,7 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 from uitest.framework import UITestCase
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, type_text
-import time
-from uitest.debug import sleep
+from uitest.uihelper.common import type_text
 
 class insertEndnote(UITestCase):
 
diff --git a/sw/qa/uitest/writer_tests3/insertEnvelope.py 
b/sw/qa/uitest/writer_tests3/insertEnvelope.py
index 2d6e3ffefbe2..0b5a8cfe99fb 100644
--- a/sw/qa/uitest/writer_tests3/insertEnvelope.py
+++ b/sw/qa/uitest/writer_tests3/insertEnvelope.py
@@ -7,7 +7,7 @@
 
 from uitest.framework import UITestCase
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, type_text
+from uitest.uihelper.common import get_state_as_dict
 
 #envaddresspage.ui
 
diff --git a/sw/qa/uitest/writer_tests3/insertFootEndnote.py 
b/sw/qa/uitest/writer_tests3/insertFootEndnote.py
index be8597411a2d..575abc9ab477 100644
--- a/sw/qa/uitest/writer_tests3/insertFootEndnote.py
+++ b/sw/qa/uitest/writer_tests3/insertFootEndnote.py
@@ -6,10 +6,6 @@
 
 from uitest.framework import UITestCase
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, type_text
-
-import time
-from uitest.debug import sleep
 
 class insertFootEndnote(UITestCase):
 
diff --git a/sw/qa/uitest/writer_tests3/insertQrCodeGen.py 
b/sw/qa/uitest/writer_tests3/insertQrCodeGen.py
index c346932dd5a1..26bb21b89159 100644
--- a/sw/qa/uitest/writer_tests3/insertQrCodeGen.py
+++ b/sw/qa/uitest/writer_tests3/insertQrCodeGen.py
@@ -5,8 +5,7 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 from uitest.framework import UITestCase
-from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, type_text
+from uitest.uihelper.common import type_text
 from com.sun.star.lang import IndexOutOfBoundsException
 
 class insertQrCode(UITestCase):
diff --git a/sw/qa/uitest/writer_tests3/insertSignatureLine.py 
b/sw/qa/uitest/writer_tests3/insertSignatureLine.py
index eb75b6cc89b2..ecfc1c61a1d2 100644
--- a/sw/qa/uitest/writer_tests3/insertSignatureLine.py
+++ b/sw/qa/uitest/writer_tests3/insertSignatureLine.py
@@ -6,8 +6,6 @@
 
 from uitest.framework import UITestCase
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, type_text
-from libreoffice.uno.propertyvalue import mkPropertyValues
 from com.sun.star.lang import IndexOutOfBoundsException
 
 class insertSignatureLine(UITestCase):
diff --git a/sw/qa/uitest/writer_tests3/lineNumbering.py 
b/sw/qa/uitest/writer_tests3/lineNumbering.py
index ce2292cde29b..ec51b4132f80 100644
--- a/sw/qa/uitest/writer_tests3/lineNumbering.py
+++ b/sw/qa/uitest/writer_tests3/lineNumbering.py
@@ -7,9 +7,8 @@
 
 from uitest.framework import UITestCase
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, type_text
-from uitest.uihelper.common import select_pos
 from uitest.uihelper.common import select_by_text
+from uitest.uihelper.common import get_state_as_dict
 from uitest.uihelper.common import change_measurement_unit
 
 class WriterLineNumbering(UITestCase):
diff --git a/sw/qa/uitest/writer_tests3/pageDialog.py 
b/sw/qa/uitest/writer_tests3/pageDialog.py
index 73e523444c6e..942aa6d2e96f 100644
--- a/sw/qa/uitest/writer_tests3/pageDialog.py
+++ b/sw/qa/uitest/writer_tests3/pageDialog.py
@@ -6,13 +6,11 @@
 
 from uitest.framework import UITestCase
 from uitest.uihelper.common import select_pos, get_state_as_dict
-from com.sun.star.uno import RuntimeException
 from com.sun.star.awt.GradientStyle import LINEAR
 from com.sun.star.drawing.HatchStyle import SINGLE
 from com.sun.star.drawing.BitmapMode import REPEAT
 from com.sun.star.drawing.RectanglePoint import MIDDLE_MIDDLE
 
-from libreoffice.uno.propertyvalue import mkPropertyValues
 
 class WriterPageDialog(UITestCase):
 
diff --git a/sw/qa/uitest/writer_tests3/sort.py 
b/sw/qa/uitest/writer_tests3/sort.py
index 26c988dd68ff..2868c9f8a49e 100644
--- a/sw/qa/uitest/writer_tests3/sort.py
+++ b/sw/qa/uitest/writer_tests3/sort.py
@@ -6,11 +6,8 @@
 
 from uitest.framework import UITestCase
 from libreoffice.uno.propertyvalue import mkPropertyValues
-from uitest.uihelper.common import get_state_as_dict, type_text
 from uitest.uihelper.common import select_by_text
-import time
-from uitest.debug import sleep
-#Tools -Sort dialog + tdf81292
+from uitest.uihelper.common import type_text
 
 class WriterSort(UITestCase):
 
diff --git a/sw/qa/uitest/writer_tests3/specialCharacter.py 
b/sw/qa/uitest/writer_tests3/specialCharacter.py
index 0589d44fb3d1..20955856ba88 100644
--- a/sw/qa/uitest/writer_tests3/specialCharacter.py
+++ b/sw/qa/uitest/writer_tests3/specialCharacter.py
@@ -7,32 +7,30 @@
 
 from uitest.framework import UITestCase
 from libreoffice.uno.propertyvalue import mkPropertyValues
-import time
-from uitest.uihelper.common import get_state_as_dict, type_text
-from uitest.debug import sleep
+from uitest.uihelper.common import get_state_as_dict
 from uitest.uihelper.common import select_pos
 
-#specialcharacters.ui
+
+# specialcharacters.ui
 class specialCharacter(UITestCase):
 
     def test_special_character(self):
-
         self.ui_test.create_doc_in_start_center("writer")
 
         xWriterDoc = self.xUITest.getTopFocusWindow()
 
         document = self.ui_test.get_component()
 
-        self.ui_test.execute_dialog_through_command(".uno:InsertSymbol")  
#specialCharacter dialog
+        self.ui_test.execute_dialog_through_command(".uno:InsertSymbol")  # 
specialCharacter dialog
         xDialog = self.xUITest.getTopFocusWindow()
-        xCharSet = xDialog.getChild("showcharset")      #default charset
+        xCharSet = xDialog.getChild("showcharset")  # default charset
 
-        xCharSet.executeAction("SELECT", mkPropertyValues({"COLUMN": "1", 
"ROW": "4"}))   #digit 4 selected
+        xCharSet.executeAction("SELECT", mkPropertyValues({"COLUMN": "1", 
"ROW": "4"}))  # digit 4 selected
 
         xHexText = xDialog.getChild("hexvalue")
         xDecText = xDialog.getChild("decimalvalue")
 
-        self.assertEqual(get_state_as_dict(xHexText)["Text"], "34")    # check 
the values Hex and decimal
+        self.assertEqual(get_state_as_dict(xHexText)["Text"], "34")  # check 
the values Hex and decimal
         self.assertEqual(get_state_as_dict(xDecText)["Text"], "52")
 
         xCancelBtn = xDialog.getChild("cancel")
@@ -42,48 +40,48 @@ class specialCharacter(UITestCase):
         xDialog = self.xUITest.getTopFocusWindow()
 
         xComboFont = xDialog.getChild("fontlb")
-        select_pos(xComboFont, "0")                        #select font
+        select_pos(xComboFont, "0")  # select font
         xComboFont2 = xDialog.getChild("subsetlb")
-        select_pos(xComboFont2, "0")                        #select font subset
-
-        xSearchText = xDialog.getChild("search")                             
#test search textBox
-        xSearchText.executeAction("TYPE", mkPropertyValues({"TEXT":"d"}))
-        xSearchText.executeAction("TYPE", mkPropertyValues({"TEXT":"i"}))
-        xSearchText.executeAction("TYPE", mkPropertyValues({"TEXT":"g"}))
-        xSearchText.executeAction("TYPE", mkPropertyValues({"TEXT":"i"}))
-        xSearchText.executeAction("TYPE", mkPropertyValues({"TEXT":"t"}))
-        xSearchText.executeAction("TYPE", mkPropertyValues({"TEXT":" "}))
-        xSearchText.executeAction("TYPE", mkPropertyValues({"TEXT":"f"}))
-        xSearchText.executeAction("TYPE", mkPropertyValues({"TEXT":"o"}))
-        xSearchText.executeAction("TYPE", mkPropertyValues({"TEXT":"u"}))
-        xSearchText.executeAction("TYPE", mkPropertyValues({"TEXT":"r"}))
-
-# works locally and linux_gcc_release_64, but fails at linux_clang_dbgutil_64.
-#Markus: Actually after a round of debugging I think the problem is actually 
that the test depends on the used font.
-#Therefore, if the font is not available or not selected by default the test 
fails.
-#        xCharSet = xDialog.getChild("searchcharset")    #another charset -> 
search charset
-#        xCharSet.executeAction("SELECT", mkPropertyValues({"COLUMN": "0", 
"ROW": "0"}))   #digit 4 selected, we have only one result;
-#        sleep(1)                                                  #try sleep 
here
-#        xCharSet.executeAction("SELECT", mkPropertyValues({"COLUMN": "0", 
"ROW": "0"}))   #try it twice, because it works at local,but fail on gerrit
-##gerrit:self.assertEqual(get_state_as_dict(xHexText)["Text"], "34")    # 
check the values for digit 4; AssertionError: '1' != '34'
-
-#        xHexText = xDialog.getChild("hexvalue")
-#        xDecText = xDialog.getChild("decimalvalue")
-#        self.assertEqual(get_state_as_dict(xHexText)["Text"], "34")    # 
check the values for digit 4
-#        self.assertEqual(get_state_as_dict(xDecText)["Text"], "52")
-
-#        xAddFavBtn = xDialog.getChild("favbtn")
-#        xAddFavBtn.executeAction("CLICK", tuple())     # Add to favorites 
button
-
-#        xInsrBtn = xDialog.getChild("insert")
-#        xInsrBtn.executeAction("CLICK", tuple())     # Insert to document
-
-#        self.assertEqual(document.Text.String[0:1], "4")    # check inserted 
character
-
-#        self.xUITest.executeCommand(".uno:Undo")
-#        self.xUITest.executeCommand(".uno:Redo")   #undo, redo
-
-#        self.assertEqual(document.Text.String[0:1], "4")    # check inserted 
character after undo, redo
+        select_pos(xComboFont2, "0")  # select font subset
+
+        xSearchText = xDialog.getChild("search")  # test search textBox
+        xSearchText.executeAction("TYPE", mkPropertyValues({"TEXT": "d"}))
+        xSearchText.executeAction("TYPE", mkPropertyValues({"TEXT": "i"}))
+        xSearchText.executeAction("TYPE", mkPropertyValues({"TEXT": "g"}))
+        xSearchText.executeAction("TYPE", mkPropertyValues({"TEXT": "i"}))
+        xSearchText.executeAction("TYPE", mkPropertyValues({"TEXT": "t"}))
+        xSearchText.executeAction("TYPE", mkPropertyValues({"TEXT": " "}))
+        xSearchText.executeAction("TYPE", mkPropertyValues({"TEXT": "f"}))
+        xSearchText.executeAction("TYPE", mkPropertyValues({"TEXT": "o"}))
+        xSearchText.executeAction("TYPE", mkPropertyValues({"TEXT": "u"}))
+        xSearchText.executeAction("TYPE", mkPropertyValues({"TEXT": "r"}))
+
+        # works locally and linux_gcc_release_64, but fails at 
linux_clang_dbgutil_64.

... etc. - the rest is truncated
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to