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:12:58 +0100 |
commit | e5dcec6e58b4bd8582380dd1f97957c369ba9182 (patch) | |
tree | ca104562d18eaf765841f4afda0c8d657b9e7121 | |
parent | ccd30d3bb395fd367d8b687fc2b3b13641c8d846 (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 2a20f440cb97..f6004619c442 100644 --- a/sw/source/ui/uiview/viewmdi.cxx +++ b/sw/source/ui/uiview/viewmdi.cxx @@ -74,6 +74,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, |