summaryrefslogtreecommitdiff
path: root/include/svl/globalnameitem.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svl/globalnameitem.hxx')
-rw-r--r--include/svl/globalnameitem.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svl/globalnameitem.hxx b/include/svl/globalnameitem.hxx
index 94011d088583..9547b4b64327 100644
--- a/include/svl/globalnameitem.hxx
+++ b/include/svl/globalnameitem.hxx
@@ -36,7 +36,7 @@ public:
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
- SvGlobalName GetValue() const { return m_aName; }
+ const SvGlobalName& GetValue() const { return m_aName; }
virtual bool PutValue ( const css::uno::Any& rVal,
sal_uInt8 nMemberId ) override;