summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-11-06 13:30:54 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-11-06 13:33:36 +0100
commit8fc6aafcb4769271bc7b208e9b9b430b875b6104 (patch)
treec89a83fbbc50ca02da694718ce3750c5f8fb5af3 /sw/source/uibase
parent2dba3c1b403e10f5725723193127c3e0fffd3d64 (diff)
sw lok annotations: disable the scrollbar for now
Change-Id: I7493eaab55c23c79ca0878c34a97dfb4af857260
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/docvw/SidebarWin.cxx6
1 files changed, 6 insertions, 0 deletions
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());