summaryrefslogtreecommitdiffstats
path: root/sax/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-06-08 17:14:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-08 17:14:34 +0200
commit4d49c9601c9b3e26a336e08e057d299895683480 (patch)
tree469e3c18c2167db45cffec0a21a99abda8406c54 /sax/source
parentloplugin:passstuffbyref (diff)
downloadcore-4d49c9601c9b3e26a336e08e057d299895683480.tar.gz
core-4d49c9601c9b3e26a336e08e057d299895683480.zip
Let loplugin:passstuffbyref also look at fn defn not preceded by any decl
Change-Id: I752bc96d2d521d790e919283cabb14b6526626f4
Diffstat (limited to 'sax/source')
-rw-r--r--sax/source/fastparser/fastparser.cxx2
1 files changed, 1 insertions, 1 deletions
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) {}
};