summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/text/TextFieldHandler.py17
1 files changed, 7 insertions, 10 deletions
diff --git a/wizards/com/sun/star/wizards/text/TextFieldHandler.py b/wizards/com/sun/star/wizards/text/TextFieldHandler.py
index b4a3eed74693..ce00db82a708 100644
--- a/wizards/com/sun/star/wizards/text/TextFieldHandler.py
+++ b/wizards/com/sun/star/wizards/text/TextFieldHandler.py
@@ -98,16 +98,13 @@ class TextFieldHandler(object):
def changeUserFieldContent(self, _FieldName, _FieldContent):
try:
- try:
- DependentTextFields = \
- TextFieldHandler.dictTextFields[_FieldName]
- except KeyError:
- return None
- if DependentTextFields is not None:
- DependentTextFields.TextFieldMaster.Content = _FieldContent
- self.refreshTextFields()
- except Exception:
- traceback.print_exc()
+ DependentTextFields = \
+ TextFieldHandler.dictTextFields[_FieldName]
+ except KeyError:
+ return None
+ if hasattr(DependentTextFields, "TextFieldMaster"):
+ DependentTextFields.TextFieldMaster.Content = _FieldContent
+ self.refreshTextFields()
def updateDocInfoFields(self):
try: