From 9f958c076a86e80a48fcd7bbca65a834568e94ea Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 20 Apr 2022 13:00:07 +0200 Subject: loplugin:passstuffbyref Change-Id: I336fd329b577b6fa141265d8bc7ce67784bd7306 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133210 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/svdraw/svdattr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx') diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx index da041583f4c9..920b38882024 100644 --- a/svx/source/svdraw/svdattr.cxx +++ b/svx/source/svdraw/svdattr.cxx @@ -1601,7 +1601,7 @@ SdrMeasureTextHPosItem* SdrMeasureTextHPosItem::Clone(SfxItemPool* /*pPool*/) co sal_uInt16 SdrMeasureTextHPosItem::GetValueCount() const { return 4; } -OUString SdrMeasureTextHPosItem::GetValueTextByPos(sal_uInt16 nPos) +const OUString & SdrMeasureTextHPosItem::GetValueTextByPos(sal_uInt16 nPos) { static std::array aMeasureTextHPosItem { -- cgit