sw/source/ui/uiview/viewmdi.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit aab8980a52eca1c0e5beefbfca6f24d125d6e097
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 286435e..17a1ac5 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,
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to