diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-01-14 14:03:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-01-14 16:31:11 +0000 |
commit | b5c1b435378e1e4c99416eb865477123ab596c85 (patch) | |
tree | 3cf84528733a1da6cf8cdaa9dc30571a4aa72afd /wizards | |
parent | 700da51c5629f3b6a9b7c8e651cabbeb66960731 (diff) |
fdo#59248: Remove remaining dangling view of ViewHandler.py
...that had been left behind by d6308705133ccde121dcd40f94a1d4367356630b
"pywizards: get rid of ViewHandler" and caused "from .LetterWizardDialogImpl
import LetterWizardDialogImpl" in CallWizard.py to fail.
Change-Id: I51dcb2812863f502bc06e3e3b07285f6c31714ca
(cherry picked from commit 155600869800a0b51f9787b8a1879d3c680342c3)
Reviewed-on: https://gerrit.libreoffice.org/1670
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/text/TextDocument.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/wizards/com/sun/star/wizards/text/TextDocument.py b/wizards/com/sun/star/wizards/text/TextDocument.py index 150b0bfb1a90..550297825d01 100644 --- a/wizards/com/sun/star/wizards/text/TextDocument.py +++ b/wizards/com/sun/star/wizards/text/TextDocument.py @@ -19,7 +19,6 @@ import uno import traceback import time from datetime import date as dateTimeObject -from .ViewHandler import ViewHandler from .TextFieldHandler import TextFieldHandler from ..document.OfficeDocument import OfficeDocument from ..common.Desktop import Desktop @@ -142,10 +141,8 @@ class TextDocument(object): self.DocSize = self.getPageSize() - myViewHandler = ViewHandler(self.xTextDocument, self.xTextDocument) try: - myViewHandler.setViewSetting( - "ZoomType", ENTIRE_PAGE) + self.xTextDocument.CurrentController.ViewSettings.ZoomType = ENTIRE_PAGE except Exception: traceback.print_exc() myFieldHandler = TextFieldHandler(self.xMSF, self.xTextDocument) |