sc/source/ui/cctrl/checklistmenu.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 278ab1f4d2ae8a51c86c8c83f8b445ff28a2bb6a
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Fri Aug 7 09:25:17 2020 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Fri Aug 7 15:08:49 2020 +0200

    cid#1465670 Logically dead code
    
    Change-Id: I6f1227baadaa5609bda67d0dd61211e2be66b58d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100290
    Tested-by: Caolán McNamara <caol...@redhat.com>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to