diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2017-03-29 13:50:18 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2017-04-04 16:37:13 +0200 |
commit | f675f9531483cb59d34c13f3746010e438298704 (patch) | |
tree | 2130e623ffcf42d76f6ded6b9bb0f203efa2bfef /desktop | |
parent | 4b39183c5740067cc31c006214cb24b81ee0f98c (diff) |
LOK - Calc: row/column headers are updated faster
Now the computation of the row/column headers data exploits the cached
row/col positions in HeightHelper/WidthHelper.
That makes updating row/column headers at the bottom of the document
as fast as at the top even for very big spreadsheets.
Change-Id: Ida0ed8d8885b71fe3206efbdaa62a0bb95153ed7
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/qa/desktop_lib/test_desktop_lib.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx index 20958267a291..2dfb036e6be7 100644 --- a/desktop/qa/desktop_lib/test_desktop_lib.cxx +++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx @@ -636,7 +636,7 @@ void DesktopLOKTest::testRowColumnHeaders() if (bFirstHeader) { CPPUNIT_ASSERT(nSize <= nY); - CPPUNIT_ASSERT_EQUAL(OString("11"), aText); + CPPUNIT_ASSERT_EQUAL(OString("10"), aText); bFirstHeader = false; } else @@ -663,7 +663,7 @@ void DesktopLOKTest::testRowColumnHeaders() if (bFirstHeader) { CPPUNIT_ASSERT(nSize <= nX); - CPPUNIT_ASSERT_EQUAL(OString("4"), aText); + CPPUNIT_ASSERT_EQUAL(OString("3"), aText); bFirstHeader = false; } else |