From 57c9a995bafcaeb9ab00facb9b7f3ed52c7e7d2a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 24 Aug 2019 20:35:05 +0200 Subject: loplugin:returnconstval in test..writerfilter Change-Id: Iea7d15f0a54921514cc4b71c5dc8caaa2ee573c8 Reviewed-on: https://gerrit.libreoffice.org/78063 Tested-by: Jenkins Reviewed-by: Noel Grandin --- test/source/table/xtablecolumns.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/source/table/xtablecolumns.cxx b/test/source/table/xtablecolumns.cxx index 90c67977dd83..b338ddd0bdb4 100644 --- a/test/source/table/xtablecolumns.cxx +++ b/test/source/table/xtablecolumns.cxx @@ -163,7 +163,7 @@ void XTableColumns::testRemoveByIndexWithOutOfBoundIndex() CPPUNIT_ASSERT_THROW(xTC->removeByIndex(xTC->getCount(), 1), uno::RuntimeException); } -const OUString XTableColumns::getCellText(const uno::Reference& r_xCell) +OUString XTableColumns::getCellText(const uno::Reference& r_xCell) { uno::Reference xST(r_xCell, uno::UNO_QUERY_THROW); return xST->getString(); -- cgit