summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/common/SystemDialog.py
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2011-08-10 02:23:02 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-18 02:57:45 +0200
commit9e5ad1ef6566f609cea1bb09bdec0a73299f93d6 (patch)
tree44292e0e81eec8c183870b06ef320b2a1d3ee89b /wizards/com/sun/star/wizards/common/SystemDialog.py
parent1723ba129281ac791a2e5faad67cd9a7de2b8ab4 (diff)
Implement add button
Diffstat (limited to 'wizards/com/sun/star/wizards/common/SystemDialog.py')
-rw-r--r--wizards/com/sun/star/wizards/common/SystemDialog.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/wizards/com/sun/star/wizards/common/SystemDialog.py b/wizards/com/sun/star/wizards/common/SystemDialog.py
index 54febcbf5180..a04c0272c96b 100644
--- a/wizards/com/sun/star/wizards/common/SystemDialog.py
+++ b/wizards/com/sun/star/wizards/common/SystemDialog.py
@@ -25,8 +25,6 @@ class SystemDialog(object):
self.xMSF = xMSF
self.systemDialog = xMSF.createInstance(ServiceName)
self.xStringSubstitution = self.createStringSubstitution(xMSF)
- if self.systemDialog != None:
- self.systemDialog.initialize(Type)
except Exception, exception:
traceback.print_exc()
@@ -105,7 +103,7 @@ class SystemDialog(object):
def callOpenDialog(self, multiSelect, displayDirectory):
try:
self.systemDialog.setMultiSelectionMode(multiSelect)
- self.systemDialog.setDisplayDirectory(subst(displayDirectory))
+ self.systemDialog.setDisplayDirectory(self.subst(displayDirectory))
if self.execute(self.systemDialog):
return self.systemDialog.getFiles()