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 10:05:53 +0100 |
commit | aab8980a52eca1c0e5beefbfca6f24d125d6e097 (patch) | |
tree | 4a6e062abcc6b9c6bd3a5a120d43509239b568d6 | |
parent | a131769adc3eb31209bbcf8e72333f38c2de042b (diff) |
fdo#40465 fix to maintain correct focus whilst zooming
Change-Id: Ifed6e9a1fcb23e3565843842c3db695ab51b3d54
(cherry picked from commit d14f7e4ec48f9a9eee0585fb5ee72512e9f4bd19)
Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
-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, |