summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/letter
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2012-11-24 21:41:51 +0100
committerXisco Fauli <anistenis@gmail.com>2012-11-24 22:20:52 +0100
commita615abcd121bb0d6fd27a7ac883798d45b290970 (patch)
tree0963c63d83722b2ff31574fb9fbdb6fd574c3fbe /wizards/com/sun/star/wizards/letter
parent63510b3c69761ec1de3c1acd30cf6e4e3a55184a (diff)
pywizards: sort lists again
Change-Id: I9b3f1faba3eb3ffc59294b6bfe6816a19fc05185
Diffstat (limited to 'wizards/com/sun/star/wizards/letter')
-rw-r--r--wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
index 0ea4d122c212..e8fe07a946d9 100644
--- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
+++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
@@ -381,7 +381,7 @@ class LetterWizardDialogImpl(LetterWizardDialog):
if self.lstBusinessStylePos != selectedItemPos:
self.lstBusinessStylePos = selectedItemPos
self.myLetterDoc.loadAsPreview(
- self.BusinessFiles.values()[selectedItemPos], False)
+ self.BusinessFiles[1][selectedItemPos], False)
self.initializeElements()
self.chkBusinessPaperItemChanged()
self.setElements(False)
@@ -392,7 +392,7 @@ class LetterWizardDialogImpl(LetterWizardDialog):
if self.lstPrivOfficialStylePos != selectedItemPos:
self.lstPrivOfficialStylePos = selectedItemPos
self.myLetterDoc.loadAsPreview(
- self.OfficialFiles.values()[selectedItemPos], False)
+ self.OfficialFiles[1][selectedItemPos], False)
self.initializeElements()
self.setPossibleSenderData(True)
self.setElements(False)
@@ -404,7 +404,7 @@ class LetterWizardDialogImpl(LetterWizardDialog):
self.lstPrivateStylePos = selectedItemPos
self.myLetterDoc.xTextDocument = \
self.myLetterDoc.loadAsPreview(
- self.PrivateFiles.values()[selectedItemPos], False)
+ self.PrivateFiles[1][selectedItemPos], False)
self.initializeElements()
self.setElements(True)
@@ -916,13 +916,13 @@ class LetterWizardDialogImpl(LetterWizardDialog):
xMSF, "pri", sLetterPath, self.resources.dictPrivateTemplate)
self.setControlProperty(
"lstBusinessStyle", "StringItemList",
- tuple(self.BusinessFiles.keys()))
+ tuple(self.BusinessFiles[0]))
self.setControlProperty(
"lstPrivOfficialStyle", "StringItemList",
- tuple(self.OfficialFiles.keys()))
+ tuple(self.OfficialFiles[0]))
self.setControlProperty(
"lstPrivateStyle", "StringItemList",
- tuple(self.PrivateFiles.keys()))
+ tuple(self.PrivateFiles[0]))
self.setControlProperty(
"lstBusinessStyle", "SelectedItems", (0,))
self.setControlProperty(