[Libreoffice-commits] core.git: sax/qa
Stephan Bergmann
sbergman at redhat.com
Sun Jul 17 19:54:48 UTC 2016
sax/qa/cppunit/xmlimport.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1fc8fb3175fd7539e4db3fcbc6f246871a1786e7
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Sun Jul 17 21:54:18 2016 +0200
loplugin:passstuffbyref
Change-Id: I7c8cd99210d1048b73e074831080e9c7121292fc
diff --git a/sax/qa/cppunit/xmlimport.cxx b/sax/qa/cppunit/xmlimport.cxx
index 7694223..c0320fc 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;
More information about the Libreoffice-commits
mailing list