Hi,
I have submitted a patch for review:
    https://gerrit.libreoffice.org/1670
To pull it, you can do:
    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/70/1670/1
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)
---
M wizards/com/sun/star/wizards/text/TextDocument.py
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/wizards/com/sun/star/wizards/text/TextDocument.py 
b/wizards/com/sun/star/wizards/text/TextDocument.py
index 150b0bf..5502978 100644
--- a/wizards/com/sun/star/wizards/text/TextDocument.py
+++ b/wizards/com/sun/star/wizards/text/TextDocument.py
@@ -19,7 +19,6 @@
 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 @@
 
         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)
-- 
To view, visit https://gerrit.libreoffice.org/1670
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I51dcb2812863f502bc06e3e3b07285f6c31714ca
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Stephan Bergmann <sbergman@redhat.com>
Context
- [PATCH] Change in core[libreoffice-4-0]: fdo#59248: Remove remaining	dangling view of ViewHandler.py · Stephan Bergmann (via Code Review)
 
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.