summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-28 14:21:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-28 14:21:38 +0200
commitd70cc23f9a84cac73c98f90204982e53b3383dc1 (patch)
tree626d32af70c8a06d0a2999d08cc2428716f43d7d /comphelper
parent38f70cd77098fb719f36853f481cf7fe13132495 (diff)
loplugin:cppunitassertequals: comphelper
Change-Id: Ice8310b60d8bd2930bc00110f88f77565d33341b
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/qa/container/testifcontainer.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/comphelper/qa/container/testifcontainer.cxx b/comphelper/qa/container/testifcontainer.cxx
index f8c9d7005a09..aa9cc38427c8 100644
--- a/comphelper/qa/container/testifcontainer.cxx
+++ b/comphelper/qa/container/testifcontainer.cxx
@@ -146,7 +146,8 @@ void TestInterfaceContainer2::test1()
while( iterator.hasMoreElements() )
{
Reference< XVetoableChangeListener > r = static_cast<XVetoableChangeListener*>(iterator.next());
- CPPUNIT_ASSERT( r != r1 && ( r == r2 || r == r3 ) );
+ CPPUNIT_ASSERT( r != r1 );
+ CPPUNIT_ASSERT( r == r2 || r == r3 );
}
}