summaryrefslogtreecommitdiff
path: root/sfx2/inc/sorgitm.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 /sfx2/inc/sorgitm.hxx
parent746289bf97ee6eeaf8a1df6b040dd9ae29bab0ce (diff)
loplugin:passstuffbyref in sfx2
Change-Id: I8c9d6e972f74ee04c8befda3b4cabb6e9b6b2054
Diffstat (limited to 'sfx2/inc/sorgitm.hxx')
-rw-r--r--sfx2/inc/sorgitm.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/inc/sorgitm.hxx b/sfx2/inc/sorgitm.hxx
index 69c833ea9ab6..45b5d795803f 100644
--- a/sfx2/inc/sorgitm.hxx
+++ b/sfx2/inc/sorgitm.hxx
@@ -38,7 +38,7 @@ public:
virtual bool operator==( const SfxPoolItem& ) const override;
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
- OUString getLanguage() const { return aLanguage; };
+ const OUString& getLanguage() const { return aLanguage; };
};
#endif