summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);