loplugin:constmethod in test
Change-Id: I15aa90d962b9d428a911f4b47a06d55318b42ba4
Reviewed-on: https://gerrit.libreoffice.org/77953
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
diff --git a/include/test/sheet/xcellrangereferrer.hxx b/include/test/sheet/xcellrangereferrer.hxx
index f840a6b..949f6b1 100644
--- a/include/test/sheet/xcellrangereferrer.hxx
+++ b/include/test/sheet/xcellrangereferrer.hxx
@@ -24,7 +24,7 @@ public:
virtual css::uno::Reference< css::uno::XInterface > init() = 0;
void setCellRange(css::table::CellRangeAddress aCellRange) { m_aCellRange = aCellRange; }
const css::table::CellRangeAddress & getCellRange() { return m_aCellRange; }
const css::table::CellRangeAddress & getCellRange() const { return m_aCellRange; }
void testGetReferredCells();
protected:
diff --git a/include/test/sheet/xformulaquery.hxx b/include/test/sheet/xformulaquery.hxx
index 7beb944..662bc6c 100644
--- a/include/test/sheet/xformulaquery.hxx
+++ b/include/test/sheet/xformulaquery.hxx
@@ -35,7 +35,7 @@ public:
virtual css::uno::Reference<css::uno::XInterface> init() = 0;
virtual css::uno::Reference<css::uno::XInterface> getXSpreadsheet() = 0;
void setXCell(css::uno::Reference<css::table::XCell> xCell) { m_xCell = xCell; }
css::uno::Reference<css::table::XCell> const& getXCell() { return m_xCell; }
css::uno::Reference<css::table::XCell> const& getXCell() const { return m_xCell; }
void testQueryDependents();
void testQueryPrecedents();
diff --git a/include/test/table/xtablecolumns.hxx b/include/test/table/xtablecolumns.hxx
index 204fb28..169eac9 100644
--- a/include/test/table/xtablecolumns.hxx
+++ b/include/test/table/xtablecolumns.hxx
@@ -25,7 +25,7 @@ class OOO_DLLPUBLIC_TEST XTableColumns
public:
virtual css::uno::Reference<css::uno::XInterface> init() = 0;
void setXSpreadsheet(css::uno::Reference<css::sheet::XSpreadsheet>& r_xSheet)
void setXSpreadsheet(const css::uno::Reference<css::sheet::XSpreadsheet>& r_xSheet)
{
m_xSheet = r_xSheet;
}
diff --git a/include/unotest/bootstrapfixturebase.hxx b/include/unotest/bootstrapfixturebase.hxx
index 0a967d3..85f270b 100644
--- a/include/unotest/bootstrapfixturebase.hxx
+++ b/include/unotest/bootstrapfixturebase.hxx
@@ -59,9 +59,9 @@ public:
virtual ~BootstrapFixtureBase() override;
const css::uno::Reference<css::uno::XComponentContext>&
getComponentContext() { return m_xContext; }
getComponentContext() const { return m_xContext; }
const css::uno::Reference<css::lang::XMultiServiceFactory>&
getMultiServiceFactory() { return m_xSFactory; }
getMultiServiceFactory() const { return m_xSFactory; }
virtual void setUp() override;
virtual void tearDown() override;