diff options
author | Xisco Fauli <anistenis@gmail.com> | 2012-10-11 21:36:00 +0200 |
---|---|---|
committer | Xisco Fauli <anistenis@gmail.com> | 2012-10-11 21:36:50 +0200 |
commit | c043062913167ef2dece0fc243a90bb86c32868e (patch) | |
tree | 7f74a19b039528d6bcde34eeda45817d338bbabe /wizards | |
parent | Fix fdo#35278 - don't generate hidden primitive rectangles (diff) | |
download | core-c043062913167ef2dece0fc243a90bb86c32868e.tar.gz core-c043062913167ef2dece0fc243a90bb86c32868e.zip |
pywizards: This code does nothing but an exception. Delete it
Change-Id: If35b68073210d7da368a96623853c3d68d8425b5
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/text/TextDocument.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/wizards/com/sun/star/wizards/text/TextDocument.py b/wizards/com/sun/star/wizards/text/TextDocument.py index 2dea2ceb3899..6570aa4387f6 100644 --- a/wizards/com/sun/star/wizards/text/TextDocument.py +++ b/wizards/com/sun/star/wizards/text/TextDocument.py @@ -139,13 +139,6 @@ class TextDocument(object): 'com.sun.star.beans.PropertyValue') loadValues[2].Name = "Preview" loadValues[2].Value = True - '''set the preview document to non-modified - mode in order to avoid the 'do u want to save' box''' - if TextDocument.xTextDocument is not None: - try: - TextDocument.xTextDocument.Modified = False - except PropertyVetoException, e1: - traceback.print_exc() TextDocument.xTextDocument = OfficeDocument.load( self.xFrame, sDefaultTemplate, "_self", loadValues) |