diff options
author | Winfried Donkers <osc@dci-electronics.nl> | 2012-12-09 12:34:45 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-01-08 09:52:37 +0100 |
commit | d14f7e4ec48f9a9eee0585fb5ee72512e9f4bd19 (patch) | |
tree | 4084c13e5e8a242cd562b2973555248d9892ef3e | |
parent | 228ba082d3148f13eed79e9cdd682953cccaab1c (diff) |
fdo#40465 fix to maintain correct focus whilst zooming
Change-Id: Ifed6e9a1fcb23e3565843842c3db695ab51b3d54
-rw-r--r-- | sw/source/ui/uiview/viewmdi.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/ui/uiview/viewmdi.cxx b/sw/source/ui/uiview/viewmdi.cxx index 286435e78969..17a1ac5b9eaa 100644 --- a/sw/source/ui/uiview/viewmdi.cxx +++ b/sw/source/ui/uiview/viewmdi.cxx @@ -65,6 +65,9 @@ using namespace ::com::sun::star::frame; void SwView::SetZoom( SvxZoomType eZoomType, short nFactor, sal_Bool bViewOnly ) { _SetZoom( GetEditWin().GetOutputSizePixel(), eZoomType, nFactor, bViewOnly ); + + //fdo40465 force the cursor to stay in view whilst zooming + pWrtShell->ShowCrsr(); } void SwView::_SetZoom( const Size &rEditSize, SvxZoomType eZoomType, |