summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-01-14 14:27:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-01-14 14:27:58 +0100
commita6f5e5238ca4536eff6c52cf10e52bd116723d72 (patch)
tree6c76fa7f487733b29b8cc90c8b2d90c72d565770 /wizards
parent3495f4817b80c3fc9846ed2bddfc492d39f01679 (diff)
Fix one more use of removed ViewHandler.py
...in the style of d6308705133ccde121dcd40f94a1d4367356630b "pywizards: get rid of ViewHandler" and 155600869800a0b51f9787b8a1879d3c680342c3 "fdo#59248: Remove remaining dangling view of ViewHandler.py," though the Python version of the Agenda wizard appers not be used yet, anyway. Change-Id: I993306d6ffa87d0938763706d41e12b2ffdf57e6
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.py b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.py
index 2dbcea7e098b..bf6b7775f4aa 100644
--- a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.py
+++ b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.py
@@ -31,7 +31,6 @@ from ..common.Desktop import Desktop
from ..common.HelpIds import HelpIds
from ..common.Configuration import Configuration
from ..document.OfficeDocument import OfficeDocument
-from ..text.ViewHandler import ViewHandler
from com.sun.star.view.DocumentZoomType import OPTIMAL
from com.sun.star.awt.VclWindowPeerAttribute import YES_NO, DEF_NO
@@ -384,8 +383,7 @@ class AgendaWizardDialogImpl(AgendaWizardDialog):
oDoc = OfficeDocument.load(
Desktop.getDesktop(self.xMSF),
self.sPath, "_default", loadValues)
- myViewHandler = ViewHandler(self.xMSF, oDoc)
- myViewHandler.setViewSetting("ZoomType", OPTIMAL)
+ oDoc.CurrentController.ViewSettings.ZoomType = OPTIMAL
else:
pass