summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/letter
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2012-11-07 22:41:15 +0100
committerXisco Fauli <anistenis@gmail.com>2012-11-08 07:42:28 +0100
commitd6ee3e33c9bbd485d7685a790ec0ad97f8c5c05f (patch)
treeecf0b370fcfd8b1b5279f124fe9a0f894171cc7a /wizards/com/sun/star/wizards/letter
parenta434b93b25c6aa652b925a8aaba1e3e0ec6986a9 (diff)
pywizards: Simplify textElement and move it to text folder
Change-Id: I1f9cde45c693de5bad091272f015e5cd7fb6beeb
Diffstat (limited to 'wizards/com/sun/star/wizards/letter')
-rw-r--r--wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
index 18fefbe24230..8f294771603a 100644
--- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
+++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
@@ -25,10 +25,10 @@ from ..common.FileAccess import FileAccess
from ..common.Configuration import Configuration
from ..common.SystemDialog import SystemDialog
from ..common.Desktop import Desktop
-from ..common.TextElement import TextElement
from ..ui.PathSelection import PathSelection
from ..ui.event.UnoDataAware import UnoDataAware
from ..ui.event.RadioDataAware import RadioDataAware
+from ..text.TextElement import TextElement
from ..text.TextDocument import TextDocument
from ..text.ViewHandler import ViewHandler
from ..text.TextFieldHandler import TextFieldHandler
@@ -991,8 +991,7 @@ class LetterWizardDialogImpl(LetterWizardDialog):
for i in constRangeList:
text = i.String.lower()
- aux = TextElement(i, self.resources.dictConstants[text],
- "hint", self.xMSF)
+ aux = TextElement(i, self.resources.dictConstants[text])
aux.write()
def insertRoadmap(self):