summaryrefslogtreecommitdiff
path: root/sc/source/ui/cctrl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-06-29 09:47:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-06-29 12:04:22 +0200
commit9294b76982ef9d80c387afe109a3ec1c6c4da661 (patch)
tree6924c029d18bc328bbfde3ad8fa12bf4a4d59abf /sc/source/ui/cctrl
parent589134377d5d8e496454e4df08d1065abffdbbf3 (diff)
loplugin:unusedmethods
Change-Id: I4cccac5b6bba55d87361b07b05220ce890e75412 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97390 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/cctrl')
-rw-r--r--sc/source/ui/cctrl/checklistmenu.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx
index 1eb85353aa73..97577a0ed881 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -394,18 +394,6 @@ void ScCheckListMenuControl::StartPopupMode(const tools::Rectangle& rRect)
pDockingManager->StartPopupMode(mxFrame, rRect, (FloatWinPopupFlags::Right | FloatWinPopupFlags::GrabFocus));
}
-void ScCheckListMenuControl::ensureSubMenuNotVisible()
-{
- if (mnSelectedMenu < maMenuItems.size() &&
- maMenuItems[mnSelectedMenu].mxSubMenuWin &&
- maMenuItems[mnSelectedMenu].mxSubMenuWin->IsVisible())
- {
- maMenuItems[mnSelectedMenu].mxSubMenuWin->get_widget().ensureSubMenuNotVisible();
- }
-
- EndPopupMode();
-}
-
void ScCheckListMenuControl::terminateAllPopupMenus()
{
EndPopupMode();