diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-08-07 09:25:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-08-07 15:08:49 +0200 |
commit | 278ab1f4d2ae8a51c86c8c83f8b445ff28a2bb6a (patch) | |
tree | dc3712c29a721f2c5a3c93b28c41b4e4aad499c2 /sc | |
parent | 790c0aeab258f770eb94f2d2cceceebfeaceb825 (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.cxx | 4 |
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); |