From 6c6c1eea82b259c7aec1e0ed5ff86bfd2eb0243f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 28 Sep 2019 10:01:37 +0200 Subject: loplugin:constmethod in sw Change-Id: I73c3c6d2165287d2d581a04b23b1d3b48166a488 Reviewed-on: https://gerrit.libreoffice.org/79780 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/inc/tblafmt.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/inc/tblafmt.hxx') diff --git a/sw/inc/tblafmt.hxx b/sw/inc/tblafmt.hxx index fd74bee7c27a..23fdbe395c14 100644 --- a/sw/inc/tblafmt.hxx +++ b/sw/inc/tblafmt.hxx @@ -303,7 +303,7 @@ class SwCellStyleDescriptor public: SwCellStyleDescriptor(const std::pair>& rCellStyleDesc) : m_rCellStyleDesc(rCellStyleDesc) { } - const OUString& GetName() { return m_rCellStyleDesc.first; } + const OUString& GetName() const { return m_rCellStyleDesc.first; } }; class SwCellStyleTable -- cgit