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/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
# #
import uno
import officehelper import officehelper
import sys import sys
import traceback import traceback

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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