summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-11-13 14:51:13 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-11-13 17:30:54 +0100
commit022c716fc89c7315a7c454c01e2fe70d5aece289 (patch)
tree566a95fa872b8e7bd824cf04dc52c78713a035fd /sw
parent22e97c130868fe7d7529cfcfb2a240f775bd8916 (diff)
sw lok: disable comment menu button for now
Change-Id: Ic052544b2835181652732b8de9eaf79572a9db6e
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/docvw/SidebarWin.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/uibase/docvw/SidebarWin.cxx b/sw/source/uibase/docvw/SidebarWin.cxx
index 876800d00089..304e2148003d 100644
--- a/sw/source/uibase/docvw/SidebarWin.cxx
+++ b/sw/source/uibase/docvw/SidebarWin.cxx
@@ -252,6 +252,10 @@ void SwSidebarWin::PaintTile(vcl::RenderContext& rRenderContext, const Rectangle
if (pChild == mpVScrollbar.get())
continue;
+ // No point in showing this button till click on it are not handled.
+ if (pChild == mpMenuButton.get())
+ continue;
+
rRenderContext.Push(PushFlags::MAPMODE);
Point aOffset(PixelToLogic(pChild->GetPosPixel()));
MapMode aMapMode(rRenderContext.GetMapMode());