Kaydet (Commit) b5c1b435 authored tarafından Stephan Bergmann's avatar Stephan Bergmann Kaydeden (comit) Caolán McNamara

fdo#59248: Remove remaining dangling view of ViewHandler.py

...that had been left behind by d6308705
"pywizards: get rid of ViewHandler" and caused "from .LetterWizardDialogImpl
import LetterWizardDialogImpl" in CallWizard.py to fail.

Change-Id: I51dcb2812863f502bc06e3e3b07285f6c31714ca
(cherry picked from commit 15560086)
Reviewed-on: https://gerrit.libreoffice.org/1670Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 700da51c
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment