[Libreoffice-commits] core.git: sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Aug 7 13:09:36 UTC 2020
sc/source/ui/cctrl/checklistmenu.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit 278ab1f4d2ae8a51c86c8c83f8b445ff28a2bb6a
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Aug 7 09:25:17 2020 +0100
Commit: Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at 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);
More information about the Libreoffice-commits
mailing list