summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2017-05-03 18:15:11 +0200
committerJan Holesovsky <kendy@collabora.com>2017-05-03 18:23:30 +0200
commit77b0d93c0f6ff6490e909dbd81b1994862a31b3a (patch)
tree440266b55947693f227b850d63abb338be49fa8c
parent85188fb8a506723ba1e440dbde78784dd12e3bb8 (diff)
sc lok:fix up: scrolling issue: the document size is not updated in clientcp-5.3-10
Change-Id: Ied16f52b0a3a3be074390d60120493c75076c84d
-rw-r--r--sc/source/ui/view/gridwin4.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index 5e9b2c07570a..7b948bcd9bb1 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -1174,16 +1174,10 @@ void ScGridWindow::PaintTile( VirtualDevice& rDevice,
pDoc->GetTiledRenderingArea(nTab, nEndCol, nEndRow);
if (nEndCol < nBottomRightTileCol)
- {
nEndCol = nBottomRightTileCol;
- pViewData->SetMaxTiledCol(nEndCol);
- }
if (nEndRow < nBottomRightTileRow)
- {
nEndRow = nBottomRightTileRow;
- pViewData->SetMaxTiledRow(nEndRow);
- }
nTopLeftTileCol = std::max<sal_Int32>(nTopLeftTileCol, 0);
nTopLeftTileRow = std::max<sal_Int32>(nTopLeftTileRow, 0);