From 4d49c9601c9b3e26a336e08e057d299895683480 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 8 Jun 2016 17:14:34 +0200 Subject: Let loplugin:passstuffbyref also look at fn defn not preceded by any decl Change-Id: I752bc96d2d521d790e919283cabb14b6526626f4 --- sax/qa/cppunit/xmlimport.cxx | 2 +- sax/source/fastparser/fastparser.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sax') diff --git a/sax/qa/cppunit/xmlimport.cxx b/sax/qa/cppunit/xmlimport.cxx index ab8a7593bd34..28c2764489e8 100644 --- a/sax/qa/cppunit/xmlimport.cxx +++ b/sax/qa/cppunit/xmlimport.cxx @@ -44,7 +44,7 @@ using namespace css::io; using namespace std; Reference< XInputStream > createStreamFromFile ( - const OUString filePath) + const OUString & filePath) { Reference< XInputStream > xInputStream; OUString aInStr; diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 88a193eb3732..fe69161888bf 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -89,7 +89,7 @@ struct NameWithToken OUString msName; sal_Int32 mnToken; - NameWithToken(const OUString& sName, const sal_Int32& nToken) : + NameWithToken(const OUString& sName, sal_Int32 nToken) : msName(sName), mnToken(nToken) {} }; -- cgit