From 31f04378dbc07d4367dc3b66163aaed171cf0323 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 18 Jun 2019 09:32:00 +0200 Subject: loplugin:passstuffbyref Change-Id: Icb7c22cf4ac95eab54d04e79312fb471ca27bceb Reviewed-on: https://gerrit.libreoffice.org/74246 Tested-by: Jenkins Reviewed-by: Noel Grandin --- starmath/inc/ElementsDockingWindow.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starmath') diff --git a/starmath/inc/ElementsDockingWindow.hxx b/starmath/inc/ElementsDockingWindow.hxx index 2cf3a33e482c..dbfb3734b8d8 100644 --- a/starmath/inc/ElementsDockingWindow.hxx +++ b/starmath/inc/ElementsDockingWindow.hxx @@ -133,7 +133,7 @@ public: static const auto& categories() { return m_aCategories; } static size_t categoriesSize() { return m_aCategoriesSize; } - OString elementSetId() const { return msCurrentSetId; } + const OString& elementSetId() const { return msCurrentSetId; } void setElementSetId(const char* pSetId); void setVerticalMode(bool bVertical); -- cgit