summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/aeitem.hxx2
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;
};