[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - sc/source

Marco Cecchetti marco.cecchetti at collabora.com
Wed May 3 16:37:28 UTC 2017


 sc/source/ui/view/gridwin4.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit 77b0d93c0f6ff6490e909dbd81b1994862a31b3a
Author: Marco Cecchetti <marco.cecchetti at collabora.com>
Date:   Wed May 3 18:15:11 2017 +0200

    sc lok:fix up: scrolling issue: the document size is not updated in client
    
    Change-Id: Ied16f52b0a3a3be074390d60120493c75076c84d

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);


More information about the Libreoffice-commits mailing list