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-04 00:22:53 +0200
commit44eb05c254c3a45b3590fba7b4ea2194f45930b5 (patch)
tree69ce0f8323871df94a425753e02a8c4806460775
parent02359793bbb8e2b762d3f9ce0f41905f8422d7d4 (diff)
sc lok:fix up: scrolling issue: the document size is not updated in client
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 346f833050f2..fa565a4ab8c3 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -1156,16 +1156,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);