From 8fc6aafcb4769271bc7b208e9b9b430b875b6104 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 6 Nov 2015 13:30:54 +0100 Subject: sw lok annotations: disable the scrollbar for now Change-Id: I7493eaab55c23c79ca0878c34a97dfb4af857260 --- sw/source/uibase/docvw/SidebarWin.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sw/source/uibase/docvw/SidebarWin.cxx b/sw/source/uibase/docvw/SidebarWin.cxx index 064a735500a0..112a12d375c6 100644 --- a/sw/source/uibase/docvw/SidebarWin.cxx +++ b/sw/source/uibase/docvw/SidebarWin.cxx @@ -246,6 +246,12 @@ void SwSidebarWin::PaintTile(vcl::RenderContext& rRenderContext, const Rectangle for (sal_uInt16 i = 0; i < GetChildCount(); ++i) { vcl::Window* pChild = GetChild(i); + + // This would at the moment just draw a gray rectangle at the top right + // corner, need to sort out later. + if (pChild == mpVScrollbar.get()) + continue; + rRenderContext.Push(PushFlags::MAPMODE); Point aOffset(PixelToLogic(pChild->GetPosPixel())); MapMode aMapMode(rRenderContext.GetMapMode()); -- cgit