summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-11-17 16:31:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-11-17 20:49:02 +0100
commit9f68cc110c16cc096f5549a4a0812cee56cb09db (patch)
tree316f2981038568ad87643af1c6b3542f63195406 /vcl
parent2b3cc82b88d0c6508e9c0c6ccc53e0f9bfb4069e (diff)
drop unused PopupMenuFlags::NoHorzPlacement
Change-Id: Ic279160f96e5aa2a37690f987c2323b91b2ec49c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125415 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/menu.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index 797740d127b8..53f5e28e6f53 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -2798,9 +2798,6 @@ sal_uInt16 PopupMenu::Execute( vcl::Window* pExecWindow, const tools::Rectangle&
if (nFlags & PopupMenuFlags::NoMouseUpClose ) // allow popup menus to stay open on mouse button up
nPopupModeFlags |= FloatWinPopupFlags::NoMouseUpClose; // useful if the menu was opened on mousebutton down (eg toolbox configuration)
- if (nFlags & PopupMenuFlags::NoHorzPlacement)
- nPopupModeFlags |= FloatWinPopupFlags::NoHorzPlacement;
-
return ImplExecute( pExecWindow, rRect, nPopupModeFlags, nullptr, false );
}