diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-25 14:08:33 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-28 16:33:45 +0200 |
commit | 3341435d7916c209c7613d594f78059ba112495b (patch) | |
tree | a1a38bc474ff0f659204d13db30ea2d14f958c3f /svl | |
parent | 20c6ab6b492d360faafeb857ef51bc0da5f645f6 (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>
(cherry picked from commit ff3bdde2527123fc9e011ff0d93e958174632186)
Reviewed-on: https://gerrit.libreoffice.org/54914
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
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; |