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 --- accessibility/source/extended/textwindowaccessibility.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accessibility') diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx index 61175803e86b..5ddf1cacfcc2 100644 --- a/accessibility/source/extended/textwindowaccessibility.cxx +++ b/accessibility/source/extended/textwindowaccessibility.cxx @@ -979,7 +979,7 @@ struct IndexCompare : pValues(pVals) { } - bool operator() ( const sal_Int32& a, const sal_Int32& b ) const + bool operator() ( sal_Int32 a, sal_Int32 b ) const { return pValues[a].Name < pValues[b].Name; } -- cgit