wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit a6f5e5238ca4536eff6c52cf10e52bd116723d72 Author: Stephan Bergmann <[email protected]> Date: Mon Jan 14 14:27:58 2013 +0100 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 diff --git a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.py b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.py index 2dbcea7..bf6b777 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 _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
