sw/source/ui/uiview/viewmdi.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit e5dcec6e58b4bd8582380dd1f97957c369ba9182 Author: Winfried Donkers <o...@dci-electronics.nl> Date: Sun Dec 9 12:34:45 2012 +0100 fdo#40465 fix to maintain correct focus whilst zooming Change-Id: Ifed6e9a1fcb23e3565843842c3db695ab51b3d54 (cherry picked from commit d14f7e4ec48f9a9eee0585fb5ee72512e9f4bd19) Signed-off-by: Miklos Vajna <vmik...@suse.cz> diff --git a/sw/source/ui/uiview/viewmdi.cxx b/sw/source/ui/uiview/viewmdi.cxx index 2a20f44..f600461 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, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits