summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/letter/LetterDocument.py
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/com/sun/star/wizards/letter/LetterDocument.py')
-rw-r--r--wizards/com/sun/star/wizards/letter/LetterDocument.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/wizards/com/sun/star/wizards/letter/LetterDocument.py b/wizards/com/sun/star/wizards/letter/LetterDocument.py
index ab29f7fa254e..f8c1cedf693b 100644
--- a/wizards/com/sun/star/wizards/letter/LetterDocument.py
+++ b/wizards/com/sun/star/wizards/letter/LetterDocument.py
@@ -32,6 +32,7 @@ from com.sun.star.text.TextContentAnchorType import AT_PAGE
from com.sun.star.text.SizeType import FIX
from com.sun.star.text.WrapTextMode import THROUGHT
from com.sun.star.awt.FontWeight import BOLD
+from com.sun.star.beans import UnknownPropertyException
class LetterDocument(TextDocument):
@@ -272,5 +273,7 @@ class BusinessPaperObject(object):
try:
self.xTextDocument.Text.removeTextContent(
self.xFrame)
+ except UnknownPropertyException:
+ pass
except Exception:
traceback.print_exc()