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:
parent
db69ae3059
commit
6e67802648
@ -7,7 +7,6 @@
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
import uno
|
||||
import officehelper
|
||||
import sys
|
||||
import traceback
|
||||
|
@ -7,7 +7,6 @@
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
import uno
|
||||
import officehelper
|
||||
|
||||
try:
|
||||
|
@ -10,7 +10,6 @@
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
import uno
|
||||
import officehelper
|
||||
|
||||
from com.sun.star.lang import DisposedException
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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():
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user