[Libreoffice-commits] .: Branch 'libreoffice-3-6' - sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Jan 8 01:17:46 PST 2013
sw/source/ui/uiview/viewmdi.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit e5dcec6e58b4bd8582380dd1f97957c369ba9182
Author: Winfried Donkers <osc at 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 <vmiklos at 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,
More information about the Libreoffice-commits
mailing list