diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-25 14:08:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-25 21:46:32 +0200 |
commit | ff3bdde2527123fc9e011ff0d93e958174632186 (patch) | |
tree | 07d86dceca57fc1c85ad208fb436d70ac7e648ab /svl | |
parent | 305285bd1450bb847058a877b0dc2adface4e521 (diff) |
loplugin:passstuffbyref
Change-Id: I785e96599bbda029adf4698d11d7f981750dec07
Reviewed-on: https://gerrit.libreoffice.org/54802
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/aeitem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/aeitem.cxx b/svl/source/items/aeitem.cxx index 7d818b903067..39fa0cda74c6 100644 --- a/svl/source/items/aeitem.cxx +++ b/svl/source/items/aeitem.cxx @@ -66,7 +66,7 @@ sal_uInt16 SfxAllEnumItem::GetValueCount() const return pValues ? pValues->size() : 0; } -OUString SfxAllEnumItem::GetValueTextByPos( sal_uInt16 nPos ) const +OUString const & SfxAllEnumItem::GetValueTextByPos( sal_uInt16 nPos ) const { assert(pValues && nPos < pValues->size()); return (*pValues)[nPos].aText; |