summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/document/OfficeDocument.py
diff options
context:
space:
mode:
authorJavier Fernandez <jfernandez@igalia.com>2013-05-04 11:59:14 +0000
committerJavier Fernandez <jfernandez@igalia.com>2013-05-08 09:36:41 +0000
commit9532335dd2c3f2bb9c3761bf8c4c879107f1538d (patch)
tree4aed9fe68e528d807e4438799b7ccb2ab920a2e8 /wizards/com/sun/star/wizards/document/OfficeDocument.py
parent9c54d77fffc9b6fda1af3020c5d1d2212b8e96c2 (diff)
PyWebWizard: Fixing bugs and implementation of mising features.
Properly terminate and dispose the Wizard dialogs. Change-Id: Ia10419d3a7bbeb5ffd7dc1f6a5452eb9df906f63
Diffstat (limited to 'wizards/com/sun/star/wizards/document/OfficeDocument.py')
-rw-r--r--wizards/com/sun/star/wizards/document/OfficeDocument.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/wizards/com/sun/star/wizards/document/OfficeDocument.py b/wizards/com/sun/star/wizards/document/OfficeDocument.py
index 97197ab2d478..eb6fb0a52736 100644
--- a/wizards/com/sun/star/wizards/document/OfficeDocument.py
+++ b/wizards/com/sun/star/wizards/document/OfficeDocument.py
@@ -123,7 +123,7 @@ class OfficeDocument(object):
if listener is not None:
xFF = xF.getFrames()
xFF.remove(xFrame)
- xF.addTerminateListener(TerminateListenerProcAdapter(listener))
+ xF.addTerminateListener(listener)
return xFrame
@@ -174,8 +174,7 @@ class OfficeDocument(object):
#and not part of the desktop tree.
#You are alone with him .-)
if listener is not None:
- Desktop.getDesktop(xMSF).addTerminateListener(
- TerminateListenerProcAdapter(listener))
+ Desktop.getDesktop(xMSF).addTerminateListener(listener)
return xFrame