diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-10-02 05:28:18 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-10-04 09:36:28 -0500 |
commit | 4fcde7bbe932e3a6e66b1f3ee10c1fbbd66de79b (patch) | |
tree | 3a0d3c2e43f61acbb5fb939a21785aa3401620a6 /sc | |
parent | 64d164875fca205294e2ba6f3ce46d392dcfc5cf (diff) |
coverity#1242413: logically dead code
Change-Id: I6e5e5025df4ad8eef6ff6a7910cb9c3ab5fc3c4e
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/navipi/navipi.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx index 5881dc21e17b..e37baa1639af 100644 --- a/sc/source/ui/navipi/navipi.cxx +++ b/sc/source/ui/navipi/navipi.cxx @@ -527,8 +527,9 @@ ScNavigatorDialogWrapper::ScNavigatorDialogWrapper( { case NAV_LMODE_DOCS: nCmdId = IID_DOCS; break; case NAV_LMODE_AREAS: nCmdId = IID_AREAS; break; - case NAV_LMODE_DBAREAS: nCmdId = IID_DBAREAS; break; - case NAV_LMODE_SCENARIOS: nCmdId = IID_SCENARIOS; break; +// The follwing case can never be reach due to how eNavMode is set-up +// case NAV_LMODE_DBAREAS: nCmdId = IID_DBAREAS; break; +// case NAV_LMODE_SCENARIOS: nCmdId = IID_SCENARIOS; break; default: nCmdId = 0; } if (nCmdId) |