diff options
author | Damien Chambe <damien.chambe@gmail.com> | 2014-06-15 21:17:41 +0200 |
---|---|---|
committer | Kohei Yoshida <libreoffice@kohei.us> | 2014-06-24 21:25:40 +0000 |
commit | b8d84a3bf59212a9652f76d7852c81191b8c8a3b (patch) | |
tree | 7c26f933347dec42617a714c235e14a91fde42da /sc/source/ui | |
parent | 0c1904ec9fa574da49ccc988c6480e8d55916860 (diff) |
Resolves fdo#76160 Calc invalid image position on zooming
Change-Id: Idd268a3378a902c173dc4d75d879714c2e919b2d
Reviewed-on: https://gerrit.libreoffice.org/9792
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/view/drawview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx index 63048af413b4..77d7941c63cf 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 ); |