summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/text/TextFieldHandler.py
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2011-07-24 18:46:22 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-18 02:57:43 +0200
commitf55b6fb6ddf73f2688b58c2caf388b7208b6e898 (patch)
treea6f3a8201d37653626584e26080493420569564b /wizards/com/sun/star/wizards/text/TextFieldHandler.py
parent80486c809cd807a1c28ef0e0083c25b84539e0f3 (diff)
Fix Finish Button
Diffstat (limited to 'wizards/com/sun/star/wizards/text/TextFieldHandler.py')
-rw-r--r--wizards/com/sun/star/wizards/text/TextFieldHandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/text/TextFieldHandler.py b/wizards/com/sun/star/wizards/text/TextFieldHandler.py
index 80e1abdcb0ae..465a19e822d9 100644
--- a/wizards/com/sun/star/wizards/text/TextFieldHandler.py
+++ b/wizards/com/sun/star/wizards/text/TextFieldHandler.py
@@ -81,7 +81,7 @@ class TextFieldHandler(object):
oTextField = xEnum.nextElement()
TextFieldHandler.arrayTextFields.append(oTextField)
xPropertySet = oTextField.TextFieldMaster
- if len(xPropertySet.Name) is not 0:
+ if xPropertySet.Name:
TextFieldHandler.dictTextFields[xPropertySet.Name] = \
oTextField
except Exception, e: