sc/source/ui/view/drawview.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b8d84a3bf59212a9652f76d7852c81191b8c8a3b
Author: Damien Chambe <damien.cha...@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 <libreoff...@kohei.us>
    Tested-by: Kohei Yoshida <libreoff...@kohei.us>

diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx
index 63048af..77d7941 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 );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to