summaryrefslogtreecommitdiff
path: root/sc/qa/unit/mark_test.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-01 16:04:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-02 08:22:00 +0200
commit7b74a1f41c5dd004e4d3af50b79cfd006ec59ab8 (patch)
treebba06ac5d13943f4eed74e1f9f61ee1b7a30b9c8 /sc/qa/unit/mark_test.cxx
parent65a0d51b37241413bf3d6dcba49b30d1d90d82d2 (diff)
tdf#120445 File-open ODS: Slower as compared to LibO 4.4.7.2
This takes opening the file from 21s to 9.4s on my machine Change-Id: I38248f3c9acfa413fc105fcbe9ece06192389d46 Reviewed-on: https://gerrit.libreoffice.org/70073 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/qa/unit/mark_test.cxx')
-rw-r--r--sc/qa/unit/mark_test.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/mark_test.cxx b/sc/qa/unit/mark_test.cxx
index f8d041caf340..ad6124c82530 100644
--- a/sc/qa/unit/mark_test.cxx
+++ b/sc/qa/unit/mark_test.cxx
@@ -243,7 +243,7 @@ void Test::testMultiMark( const MultiMarkTestData& rMarksData )
ScMarkData aMark;
ScMultiSel aMultiSel;
CPPUNIT_ASSERT( !aMark.IsMarked() && !aMark.IsMultiMarked() );
- CPPUNIT_ASSERT_EQUAL( SCCOL(0), aMultiSel.size() );
+ CPPUNIT_ASSERT_EQUAL( SCCOL(0), aMultiSel.GetMultiSelectionCount() );
CPPUNIT_ASSERT( !aMultiSel.HasAnyMarks() );
for ( const auto& rAreaTestData : rMarksData.aMarks )
@@ -392,7 +392,7 @@ void Test::testMultiMark( const MultiMarkTestData& rMarksData )
CPPUNIT_ASSERT( !aMultiSel.HasEqualRowsMarked( rColsWithUnequalMarks.first, rColsWithUnequalMarks.second ) );
aMultiSel.Clear();
- CPPUNIT_ASSERT_EQUAL( SCCOL(0), aMultiSel.size() );
+ CPPUNIT_ASSERT_EQUAL( SCCOL(0), aMultiSel.GetMultiSelectionCount() );
CPPUNIT_ASSERT( !aMultiSel.HasAnyMarks() );
}