f325b2
From ee7c4fb2c32e306342099896c0e367c9f2d33e75 Mon Sep 17 00:00:00 2001
f325b2
From: David Tardon <dtardon@redhat.com>
f325b2
Date: Mon, 20 Mar 2017 17:51:53 +0100
f325b2
Subject: [PATCH 308/398] fix build
f325b2
f325b2
Change-Id: I8770c05d39e5574212461d2e48e72ed2fff6a74d
f325b2
---
f325b2
 sw/source/uibase/docvw/SidebarWin.cxx | 10 +++++-----
f325b2
 1 file changed, 5 insertions(+), 5 deletions(-)
f325b2
f325b2
diff --git a/sw/source/uibase/docvw/SidebarWin.cxx b/sw/source/uibase/docvw/SidebarWin.cxx
f325b2
index 87a86fbc9dc8..575be80c0ae0 100644
f325b2
--- a/sw/source/uibase/docvw/SidebarWin.cxx
f325b2
+++ b/sw/source/uibase/docvw/SidebarWin.cxx
f325b2
@@ -282,7 +282,7 @@ void SwSidebarWin::PaintTile(vcl::RenderContext& rRenderContext, const Rectangle
f325b2
 
f325b2
 vcl::Window* SwSidebarWin::IsHitWindow(const Point& rPointLogic)
f325b2
 {
f325b2
-    Rectangle aRectangleLogic(EditWin().PixelToLogic(GetPosPixel()), EditWin().PixelToLogic(GetSizePixel()));
f325b2
+    Rectangle aRectangleLogic(EditWin()->PixelToLogic(GetPosPixel()), EditWin()->PixelToLogic(GetSizePixel()));
f325b2
     if (aRectangleLogic.IsInside(rPointLogic))
f325b2
         return mpSidebarTextControl;
f325b2
     return 0;
f325b2
@@ -616,14 +616,14 @@ void SwSidebarWin::SetPosAndSize()
f325b2
 
f325b2
         // LOK has map mode disabled, and we still want to perform pixel ->
f325b2
         // twips conversion for the size of the line above the note.
f325b2
-        if (comphelper::LibreOfficeKit::isActive() && !EditWin().IsMapModeEnabled())
f325b2
+        if (comphelper::LibreOfficeKit::isActive() && !EditWin()->IsMapModeEnabled())
f325b2
         {
f325b2
-            EditWin().EnableMapMode();
f325b2
+            EditWin()->EnableMapMode();
f325b2
             Size aSize(aLineEnd.getX() - aLineStart.getX(), aLineEnd.getY() - aLineStart.getY());
f325b2
-            aSize = EditWin().PixelToLogic(aSize);
f325b2
+            aSize = EditWin()->PixelToLogic(aSize);
f325b2
             aLineEnd = aLineStart;
f325b2
             aLineEnd.Move(aSize.getWidth(), aSize.getHeight());
f325b2
-            EditWin().EnableMapMode(false);
f325b2
+            EditWin()->EnableMapMode(false);
f325b2
         }
f325b2
 
f325b2
         if (!IsPreview())
f325b2
-- 
f325b2
2.12.0
f325b2