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 /include/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 'include/svl')
-rw-r--r-- | include/svl/aeitem.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svl/aeitem.hxx b/include/svl/aeitem.hxx index add7e0b2c465..7be7e83352fd 100644 --- a/include/svl/aeitem.hxx +++ b/include/svl/aeitem.hxx @@ -61,7 +61,7 @@ public: virtual sal_uInt16 GetValueCount() const override; sal_uInt16 GetValueByPos( sal_uInt16 nPos ) const; - OUString GetValueTextByPos( sal_uInt16 nPos ) const; + OUString const & GetValueTextByPos( sal_uInt16 nPos ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; virtual SfxPoolItem* Create(SvStream &, sal_uInt16 nVersion) const override; }; |