sc/inc/address.hxx                           |    2 +-
 sc/qa/unit/tiledrendering/tiledrendering.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit fbd1eccd710c8cb135dd2c9a904f236d18f5fec0
Author:     Luboš Luňák <[email protected]>
AuthorDate: Fri May 13 14:46:33 2022 +0200
Commit:     Luboš Luňák <[email protected]>
CommitDate: Fri May 20 10:52:23 2022 +0200

    bump up Calc MAXTILEDROW to MAXROW
    
    I.e. no restriction on number of rows for LOK.
    
    Change-Id: I248a70bafe18c68e59f604e33b9456474ab785c6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134282
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Luboš Luňák <[email protected]>

diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index ea197c5b95aa..68bbe7dad075 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -74,7 +74,7 @@ const SCCOL       MAXCOLCOUNT_JUMBO = 16384;
 const SCROW       MAXROW_JUMBO   = MAXROWCOUNT_JUMBO - 1;
 const SCCOL       MAXCOL_JUMBO   = MAXCOLCOUNT_JUMBO - 1;
 // Maximum tiled rendering values
-const SCROW       MAXTILEDROW    = 500000;
+const SCROW       MAXTILEDROW    = MAXROW;
 // Limit the initial tab count to prevent users to set the count too high,
 // which could cause the memory usage of blank documents to exceed the
 // available system memory.
diff --git a/sc/qa/unit/tiledrendering/tiledrendering.cxx 
b/sc/qa/unit/tiledrendering/tiledrendering.cxx
index 8c42ff99fa45..4d947cb4f600 100644
--- a/sc/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sc/qa/unit/tiledrendering/tiledrendering.cxx
@@ -2150,7 +2150,7 @@ void ScTiledRenderingTest::testJumpToLastRowInvalidation()
     Scheduler::ProcessEventsToIdle();
     CPPUNIT_ASSERT(aView1.m_bInvalidateTiles);
     CPPUNIT_ASSERT_EQUAL(size_t(1), aView1.m_aInvalidations.size());
-    CPPUNIT_ASSERT_EQUAL(tools::Rectangle(0, 13005, 26775, 127500255), 
aView1.m_aInvalidations[0]);
+    CPPUNIT_ASSERT_EQUAL(tools::Rectangle(0, 13005, 26775, 267386880), 
aView1.m_aInvalidations[0]);
 }
 
 // We need to ensure that views are not perterbed by rendering (!?) hmm ...

Reply via email to