diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2017-03-29 13:50:18 +0200 |
---|---|---|
committer | Marco Cecchetti <mrcekets@gmail.com> | 2017-10-02 18:46:25 +0200 |
commit | 6dc844945c5af0c75183fa72f6e17d25f5e664c3 (patch) | |
tree | c383b43c909f864e2a54a9b6c7de0f8995ad18c8 /desktop/qa | |
parent | 31b7dc19c32f42197c481cb7d2f44c600b755e2b (diff) |
lok - sc: 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: I27381b520aaed68662e4d07c5879046d182c70e6
Reviewed-on: https://gerrit.libreoffice.org/40451
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Diffstat (limited to 'desktop/qa')
-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 e595ace20cac..3a95e96dbda5 100644 --- a/desktop/qa/desktop_lib/test_desktop_lib.cxx +++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx @@ -639,7 +639,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 @@ -666,7 +666,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 |