From 868444c803a3ba197068d487d3507089cc1e9afa Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 13 Apr 2016 14:42:54 +0200 Subject: loplugin:passstuffbyref in xmloff Change-Id: I5995510c5c0686e5e69e8853d81dcba83ae96211 --- xmloff/inc/txtvfldi.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmloff/inc/txtvfldi.hxx') 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();} }; -- cgit