diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-10 11:13:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-10 12:50:22 +0100 |
commit | 4bacf63db7cccd6be6497ac14365cbcf9b7b1429 (patch) | |
tree | c349adde9e976f36cab1ce5fb40fa8bd46d4fc22 /sc | |
parent | edaee2352bcd470e150338c4c19722a6b26784fb (diff) |
fix coverity#1242413 Logically dead code
Change-Id: Ic56eff808cd4254448f63127da9b5b1d54c733a0
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/navipi/navipi.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx index e37baa1639af..6dde76ce8077 100644 --- a/sc/source/ui/navipi/navipi.cxx +++ b/sc/source/ui/navipi/navipi.cxx @@ -525,11 +525,11 @@ ScNavigatorDialogWrapper::ScNavigatorDialogWrapper( sal_uInt16 nCmdId; switch (eNavMode) { - case NAV_LMODE_DOCS: nCmdId = IID_DOCS; break; + case NAV_LMODE_SCENARIOS: nCmdId = IID_SCENARIOS; break; case NAV_LMODE_AREAS: nCmdId = IID_AREAS; break; // The follwing case can never be reach due to how eNavMode is set-up +// case NAV_LMODE_DOCS: nCmdId = IID_DOCS; break; // case NAV_LMODE_DBAREAS: nCmdId = IID_DBAREAS; break; -// case NAV_LMODE_SCENARIOS: nCmdId = IID_SCENARIOS; break; default: nCmdId = 0; } if (nCmdId) |