diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-24 09:28:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-24 10:03:29 +0100 |
commit | 399ef5c1a1af6ded3cd650b3012d5990e5015365 (patch) | |
tree | b5506080a97ea0ea731bf49f6464b3e5fcd2e217 /sc/qa/unit/mark_test.cxx | |
parent | cf693b02159982bbcbbd13b564a81227fbba78cf (diff) |
loplugin:constparams in sc
Change-Id: Ie211eea01eaceb718f701d3fdbb6253700d14e5e
Reviewed-on: https://gerrit.libreoffice.org/66831
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.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/mark_test.cxx b/sc/qa/unit/mark_test.cxx index 722d07ea75a5..f8d041caf340 100644 --- a/sc/qa/unit/mark_test.cxx +++ b/sc/qa/unit/mark_test.cxx @@ -115,7 +115,7 @@ public: CPPUNIT_TEST_SUITE_END(); private: - void testScMarkArraySearch_check(ScMarkArray & ar, SCROW nRow, bool expectStatus, SCSIZE nIndexExpect); + void testScMarkArraySearch_check(const ScMarkArray & ar, SCROW nRow, bool expectStatus, SCSIZE nIndexExpect); }; static void lcl_GetSortedRanges( const ScRangeList& rRangeList, ScRangeList& rRangeListOut ) @@ -851,7 +851,7 @@ void Test::testDeleteTabAfterSelected() CPPUNIT_ASSERT_EQUAL(SCTAB(0), aMark.GetFirstSelected()); } -void Test::testScMarkArraySearch_check(ScMarkArray & ar, SCROW nRow, bool expectStatus, SCSIZE nIndexExpect) +void Test::testScMarkArraySearch_check(const ScMarkArray & ar, SCROW nRow, bool expectStatus, SCSIZE nIndexExpect) { SCSIZE nIndex = 0; bool status = ar.Search(nRow, nIndex); |