diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2022-07-07 15:28:59 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2022-07-07 20:25:06 +0200 |
commit | 855f4a5f0f4721c80af0694421d20533833f6dd0 (patch) | |
tree | 1d1cd1418d5637bc2cef7eb5921fabb3b1d02fa4 | |
parent | ada1f96be3680ae63c4241be064153a76d7c08a9 (diff) |
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/+/136884
Reviewed-by: Gökay ŞATIR <gokaysatir@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
-rw-r--r-- | sc/source/ui/view/gridwin4.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx index 3677db7122bd..e51feeda0645 100644 --- a/sc/source/ui/view/gridwin4.cxx +++ b/sc/source/ui/view/gridwin4.cxx @@ -818,8 +818,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()); |