sc/source/ui/view/gridwin4.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 679102b057377c23c3582b0a6d26e218cfd6e773
Author:     Michael Meeks <michael.me...@collabora.com>
AuthorDate: Thu Jul 7 15:28:59 2022 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Sat Jul 16 13:45:31 2022 +0200

    lok: skip app background rendering for lok case.
    
    this is/was mis-placed and tends to make a mess of large sheets'
    tiles close to the bottom at ~2^20 rows.
    
    Change-Id: Iac0977d58428707ff56c0ac30a7740c0ed0b27c9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136866
    Tested-by: Jenkins
    Reviewed-by: Michael Meeks <michael.me...@collabora.com>
    (cherry picked from commit a4acae686c2c55b18b5c27e832827d3c2d8e0f63)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136870
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index af87b086ca7c..42cc0781d26b 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -817,8 +817,8 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, const 
ScTableInfo& rTableI
         }
     }
 
-    // edge (area) (Pixel)
-    if ( nX2==rDoc.MaxCol() || nY2==rDoc.MaxRow() )
+    // app-background / document edge (area) (Pixel)
+    if ( !bIsTiledRendering && ( nX2 == rDoc.MaxCol() || nY2 == rDoc.MaxRow() 
) )
     {
         // save MapMode and set to pixel
         MapMode aCurrentMapMode(pContentDev->GetMapMode());

Reply via email to