summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-24 20:35:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-24 22:12:28 +0200
commit57c9a995bafcaeb9ab00facb9b7f3ed52c7e7d2a (patch)
tree0694b1f49f2e51e533fe2a571b5aefbc9049fc54 /test
parent592c31a8fa8729259cf42440a0a26c0322bbbba5 (diff)
loplugin:returnconstval in test..writerfilter
Change-Id: Iea7d15f0a54921514cc4b71c5dc8caaa2ee573c8 Reviewed-on: https://gerrit.libreoffice.org/78063 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'test')
-rw-r--r--test/source/table/xtablecolumns.cxx2
1 files changed, 1 insertions, 1 deletions
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<table::XCell>& r_xCell)
+OUString XTableColumns::getCellText(const uno::Reference<table::XCell>& r_xCell)
{
uno::Reference<text::XSimpleText> xST(r_xCell, uno::UNO_QUERY_THROW);
return xST->getString();