[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source
Damien Chambe
damien.chambe at gmail.com
Wed Jun 25 16:30:43 PDT 2014
sc/source/ui/view/drawview.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2153e1febbb2ae2254df42d85d33590928b14f5a
Author: Damien Chambe <damien.chambe at gmail.com>
Date: Sun Jun 15 21:17:41 2014 +0200
Resolves fdo#76160 Calc invalid image position on zooming
Change-Id: Idd268a3378a902c173dc4d75d879714c2e919b2d
Reviewed-on: https://gerrit.libreoffice.org/9792
Reviewed-by: Kohei Yoshida <libreoffice at kohei.us>
Tested-by: Kohei Yoshida <libreoffice at kohei.us>
(cherry picked from commit b8d84a3bf59212a9652f76d7852c81191b8c8a3b)
diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx
index 18cd6fe..93f756e 100644
--- a/sc/source/ui/view/drawview.cxx
+++ b/sc/source/ui/view/drawview.cxx
@@ -321,7 +321,7 @@ void ScDrawView::RecalcScale()
if (nEndCol<20)
nEndCol = 20;
if (nEndRow<20)
- nEndRow = 1000;
+ nEndRow = 20;
ScDrawUtil::CalcScale( pDoc, nTab, 0,0, nEndCol,nEndRow, pDev,aZoomX,aZoomY,nPPTX,nPPTY,
aScaleX,aScaleY );
More information about the Libreoffice-commits
mailing list