diff options
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) |