summaryrefslogtreecommitdiff
path: root/include/sfx2/lnkbase.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 11:29:05 +0200
committerNoel Grandin <noel@peralex.com>2016-04-13 13:27:52 +0200
commit523036daaddf466eee46183bbec9a71d45c48a41 (patch)
tree21582b9f2ac1b8714233d7cb4d4c1aba17a15c3e /include/sfx2/lnkbase.hxx
parent746289bf97ee6eeaf8a1df6b040dd9ae29bab0ce (diff)
loplugin:passstuffbyref in sfx2
Change-Id: I8c9d6e972f74ee04c8befda3b4cabb6e9b6b2054
Diffstat (limited to 'include/sfx2/lnkbase.hxx')
-rw-r--r--include/sfx2/lnkbase.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/lnkbase.hxx b/include/sfx2/lnkbase.hxx
index 9a98ddc6b837..36739c79ec17 100644
--- a/include/sfx2/lnkbase.hxx
+++ b/include/sfx2/lnkbase.hxx
@@ -123,7 +123,7 @@ public:
SvLinkSource* GetObj() const { return xObj; }
void SetLinkSourceName( const OUString & rName );
- OUString GetLinkSourceName() const { return aLinkName;}
+ const OUString& GetLinkSourceName() const { return aLinkName;}
enum UpdateResult {
SUCCESS = 0,