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 --- editeng/qa/items/borderline_test.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editeng/qa') diff --git a/editeng/qa/items/borderline_test.cxx b/editeng/qa/items/borderline_test.cxx index b97a41432978..58a46ffc8b01 100644 --- a/editeng/qa/items/borderline_test.cxx +++ b/editeng/qa/items/borderline_test.cxx @@ -32,12 +32,12 @@ CPPUNIT_NS_BEGIN template<> struct assertion_traits { - static bool equal( const SvxBorderStyle& x, const SvxBorderStyle& y ) + static bool equal( SvxBorderStyle x, SvxBorderStyle y ) { return x == y; } - static std::string toString( const SvxBorderStyle& x ) + static std::string toString( SvxBorderStyle x ) { OStringStream ost; ost << static_cast(x); -- cgit