summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-19 09:56:30 +0100
committerAndras Timar <andras.timar@collabora.com>2018-10-20 22:53:56 +0200
commit592ac1ec9988998b756d198bad9436906924a790 (patch)
treefcd42eb88458a90413f2eedca2e54936583b2122
parent753f1d466ee14b4436576ee5d5ec3f82e14710da (diff)
copy and paste error
Change-Id: If352e7a0f6e8dab2a9acc9aa2cde56b40cedb50c Reviewed-on: https://gerrit.libreoffice.org/61993 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> (cherry picked from commit 392ec204197c723b4dff4f7091df5afb46b5b9db)
-rw-r--r--sc/source/ui/view/gridwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index a5ef6ca9f83b..400b2ee959a7 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -5645,7 +5645,7 @@ OString ScGridWindow::getCellCursor(const Fraction& rZoomX, const Fraction& rZoo
SCROW nY = pViewData->GetCurY();
Fraction defaultZoomX = pViewData->GetZoomX();
- Fraction defaultZoomY = pViewData->GetZoomX();
+ Fraction defaultZoomY = pViewData->GetZoomY();
pViewData->SetZoom(rZoomX, rZoomY, true);