summaryrefslogtreecommitdiff
path: root/sc/source/ui/view
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-03 17:04:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-03 17:04:57 +0100
commit42bffebf0bdacf30095349c06adbf186542917d5 (patch)
tree192ccc6ecc2aea92c3125e874d9aaa55c9382143 /sc/source/ui/view
parentd7c48309e67c097ea4fe1045640401209b316c48 (diff)
Revert "sc rowlimit: Make the cursor better fit the rendering."
This reverts commit f7962f59ea0b2a8f7c2d6c015e1c02855e1008fe; at least together with 27ca6387b7188d1805dda8906d809025a2d3fb95 "sc tiled rendering: We keep increasing the precision here..." it makes CppunitTest_desktop_lib fail.
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r--sc/source/ui/view/gridwin.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 278aa5dac12e..3ac3af0dc73f 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -5721,9 +5721,8 @@ OString ScGridWindow::getCellCursor(const Fraction& rZoomX, const Fraction& rZoo
double fPPTX = pViewData->GetPPTX();
double fPPTY = pViewData->GetPPTY();
-
- Rectangle aRect(Point(rtl::math::round(aScrPos.getX() / fPPTX), rtl::math::round(aScrPos.getY() / fPPTY)),
- Size(rtl::math::round(nSizeXPix / fPPTX), rtl::math::round(nSizeYPix / fPPTY)));
+ Rectangle aRect(Point(aScrPos.getX() / fPPTX, aScrPos.getY() / fPPTY),
+ Size(nSizeXPix / fPPTX, nSizeYPix / fPPTY));
pViewData->SetZoom(defaultZoomX, defaultZoomY, true);