summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-08-07 09:25:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-08-07 15:08:49 +0200
commit278ab1f4d2ae8a51c86c8c83f8b445ff28a2bb6a (patch)
treedc3712c29a721f2c5a3c93b28c41b4e4aad499c2 /sc
parent790c0aeab258f770eb94f2d2cceceebfeaceb825 (diff)
cid#1465670 Logically dead code
Change-Id: I6f1227baadaa5609bda67d0dd61211e2be66b58d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100290 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/cctrl/checklistmenu.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx
index a369aff364e5..9cf772287d12 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -331,10 +331,6 @@ void ScCheckListMenuControl::selectMenuItem(size_t nPos, bool bSubMenuTimer)
return;
}
-
- if (nPos == MENU_NOT_SELECTED)
- return;
-
ScCheckListMenuWindow* pParentMenu = mxFrame->GetParentMenu();
if (pParentMenu)
pParentMenu->get_widget().setSubMenuFocused(this);