[Libreoffice-commits] core.git: sax/qa

Stephan Bergmann sbergman at redhat.com
Fri Jun 17 13:53:44 UTC 2016


 sax/qa/cppunit/xmlimport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 48d71ee45fbf1e70b9b46ab61dcf3b45e13f2e44
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jun 17 15:53:11 2016 +0200

    loplugin:passstuffbyref
    
    Change-Id: I2fb13854a6da3f114dba386169e5aef7f741b922

diff --git a/sax/qa/cppunit/xmlimport.cxx b/sax/qa/cppunit/xmlimport.cxx
index fe4af60..76c2445 100644
--- a/sax/qa/cppunit/xmlimport.cxx
+++ b/sax/qa/cppunit/xmlimport.cxx
@@ -83,7 +83,7 @@ private:
 public:
     TestDocumentHandler() {}
     const OUString& getString() { return m_aStr; }
-    void setString( const OUString aStr ) { m_aStr = aStr; }
+    void setString( const OUString & aStr ) { m_aStr = aStr; }
 
     // XDocumentHandler
     virtual void SAL_CALL startDocument() throw (SAXException, RuntimeException, exception) override;


More information about the Libreoffice-commits mailing list