sc/inc/address.hxx | 2 +- sc/qa/unit/tiledrendering/tiledrendering.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit d37e5bc08742de4ea9b0916a799e32540e74cdd1 Author: Luboš Luňák <l.lu...@collabora.com> AuthorDate: Fri May 13 14:46:33 2022 +0200 Commit: Luboš Luňák <l.lu...@collabora.com> CommitDate: Fri May 20 15:11: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/+/134620 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lu...@collabora.com> diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx index a1fb7e34d74f..c3171c8f8a84 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 36c180efb15b..3fa368d423b1 100644 --- a/sc/qa/unit/tiledrendering/tiledrendering.cxx +++ b/sc/qa/unit/tiledrendering/tiledrendering.cxx @@ -2079,7 +2079,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 ...