summaryrefslogtreecommitdiff
path: root/include/dbaccess
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 /include/dbaccess
parent46c7ecf760bbea6541507c319e8e722f9b4ec712 (diff)
Let loplugin:passstuffbyref also look at fn defn not preceded by any decl
Change-Id: I752bc96d2d521d790e919283cabb14b6526626f4
Diffstat (limited to 'include/dbaccess')
-rw-r--r--include/dbaccess/genericcontroller.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dbaccess/genericcontroller.hxx b/include/dbaccess/genericcontroller.hxx
index 5e9b792275f2..dae637c6bf0d 100644
--- a/include/dbaccess/genericcontroller.hxx
+++ b/include/dbaccess/genericcontroller.hxx
@@ -156,7 +156,7 @@ namespace dbaui
struct CompareFeatureById : ::std::binary_function< SupportedFeatures::value_type, sal_Int32, bool >
{
- inline bool operator()( const SupportedFeatures::value_type& _aType, const sal_Int32& _nId ) const
+ inline bool operator()( const SupportedFeatures::value_type& _aType, sal_Int32 _nId ) const
{
return !!( _nId == _aType.second.nFeatureId );
}