summaryrefslogtreecommitdiff
path: root/sax/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-17 21:54:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-17 21:54:18 +0200
commit1fc8fb3175fd7539e4db3fcbc6f246871a1786e7 (patch)
treec1ec25e855f244a66d17969515bb0cbe331c865b /sax/qa
parent37a1a54ed160a6f47e1e64acf922e174c3ffa349 (diff)
loplugin:passstuffbyref
Change-Id: I7c8cd99210d1048b73e074831080e9c7121292fc
Diffstat (limited to 'sax/qa')
-rw-r--r--sax/qa/cppunit/xmlimport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/qa/cppunit/xmlimport.cxx b/sax/qa/cppunit/xmlimport.cxx
index 76942233e755..c0320fc00351 100644
--- a/sax/qa/cppunit/xmlimport.cxx
+++ b/sax/qa/cppunit/xmlimport.cxx
@@ -82,7 +82,7 @@ private:
public:
TestDocumentHandler() {}
- const OUString getString() { return m_aStr; }
+ const OUString & getString() { return m_aStr; }
// XDocumentHandler
virtual void SAL_CALL startDocument() throw (SAXException, RuntimeException, exception) override;