summaryrefslogtreecommitdiff
path: root/xmloff/inc/txtvfldi.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 14:42:54 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 09:21:39 +0200
commit868444c803a3ba197068d487d3507089cc1e9afa (patch)
tree1510bdac1c102d152b444ea582c4870708dc2b45 /xmloff/inc/txtvfldi.hxx
parentf34cc90df9e6e7bc7d58a4ed4be71a63f0ec5ae4 (diff)
loplugin:passstuffbyref in xmloff
Change-Id: I5995510c5c0686e5e69e8853d81dcba83ae96211
Diffstat (limited to 'xmloff/inc/txtvfldi.hxx')
-rw-r--r--xmloff/inc/txtvfldi.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/inc/txtvfldi.hxx b/xmloff/inc/txtvfldi.hxx
index 1d3807980b4c..a92f6bc53980 100644
--- a/xmloff/inc/txtvfldi.hxx
+++ b/xmloff/inc/txtvfldi.hxx
@@ -188,7 +188,7 @@ protected:
css::beans::XPropertySet> & xPropertySet) override;
// various accessor methods:
- inline OUString GetName() { return sName; }
+ const OUString& GetName() { return sName; }
inline bool IsStringValue() { return aValueHelper.IsStringValue();}
};