diff options
Diffstat (limited to 'sw/source/ui/uiview/view.cxx')
-rw-r--r-- | sw/source/ui/uiview/view.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/ui/uiview/view.cxx b/sw/source/ui/uiview/view.cxx index 2157f74d9b42..90fa616a19b7 100644 --- a/sw/source/ui/uiview/view.cxx +++ b/sw/source/ui/uiview/view.cxx @@ -73,6 +73,7 @@ #include <drformsh.hxx> #include <drwtxtsh.hxx> #include <beziersh.hxx> +#include <navsh.hxx> #include <globdoc.hxx> #include <scroll.hxx> #include <globdoc.hxx> @@ -320,6 +321,10 @@ void SwView::SelectShell() if ( !( nSelectionType & nsSelectionType::SEL_FOC_FRM_CTRL ) ) rDispatcher.Push( *pFormShell ); + eShellMode = SHELL_MODE_NAVIGATION; + pShell = new SwNavigationShell( *this ); + rDispatcher.Push( *pShell ); + if ( nSelectionType & nsSelectionType::SEL_OLE ) { eShellMode = SHELL_MODE_OBJECT; |