diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-03 17:04:57 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-03 17:04:57 +0100 |
commit | 42bffebf0bdacf30095349c06adbf186542917d5 (patch) | |
tree | 192ccc6ecc2aea92c3125e874d9aaa55c9382143 /sc/source | |
parent | d7c48309e67c097ea4fe1045640401209b316c48 (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')
-rw-r--r-- | sc/source/ui/view/gridwin.cxx | 5 |
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); |