tdf#158803 Remove unused imports from odk

Used pyflakes to find unused imports from odk module. Then, removed
those unused imports.

Change-Id: If1a160fa99f0c3581687faecb0c7051625c478c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158821
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
This commit is contained in:
Bogdan B 2023-12-29 09:36:05 +00:00 committed by Hossein
parent db69ae3059
commit 6e67802648
9 changed files with 0 additions and 10 deletions

View File

@ -7,7 +7,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
import uno
import officehelper
import sys
import traceback

View File

@ -7,7 +7,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
import uno
import officehelper
try:

View File

@ -10,7 +10,6 @@
import sys
import traceback
import uno
import officehelper
from com.sun.star.lang import DisposedException

View File

@ -13,7 +13,6 @@ import sys
from os.path import abspath, basename, isdir, join, splitext
import uno
import unohelper
from com.sun.star.beans import PropertyValue
from com.sun.star.connection import NoConnectException

View File

@ -12,7 +12,6 @@ import sys
from os.path import abspath, basename
import uno
import unohelper
from com.sun.star.beans import PropertyValue
from com.sun.star.connection import NoConnectException

View File

@ -12,7 +12,6 @@ import sys
from os.path import basename, abspath
import uno
import unohelper
from com.sun.star.beans import PropertyValue
from com.sun.star.connection import NoConnectException

View File

@ -11,7 +11,6 @@ import officehelper
import sys
import traceback
from com.sun.star.awt import Size
from com.sun.star.awt.FontWeight import BOLD
from com.sun.star.beans.PropertyState import AMBIGUOUS_VALUE
from com.sun.star.beans.PropertyState import DEFAULT_VALUE

View File

@ -11,9 +11,7 @@ import officehelper
import sys
import traceback
from com.sun.star.awt import Size
from com.sun.star.text.ControlCharacter import PARAGRAPH_BREAK
from com.sun.star.text.TextContentAnchorType import AS_CHARACTER
def get_desktop():

View File

@ -18,7 +18,6 @@
# inspired by core/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent
#
import uno
import unohelper
from com.sun.star.ui import XUIElementFactory