summaryrefslogtreecommitdiff
path: root/include/svl/globalnameitem.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 11:29:29 +0200
committerNoel Grandin <noel@peralex.com>2016-04-13 13:27:52 +0200
commitfe8896bab01ccb595c993e54866a01f554b54f4f (patch)
treedac712df6f8aaaeaa863a84b0bc11b0ebd2a9061 /include/svl/globalnameitem.hxx
parent523036daaddf466eee46183bbec9a71d45c48a41 (diff)
loplugin:passstuffbyref in svl
Change-Id: I1434d96ae800d8e155262831472cf632d640b4c5
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;