From 1e7ab86a20a6ebe3709958869ede96a443a50a62 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Wed, 28 Feb 2018 07:37:15 +0100 Subject: loplugin:cppunitassertequals in tiledrendering (sw/qa) Since https://cgit.freedesktop.org/libreoffice/core/commit/?id=3c3e07b51fb09d09cfef54193f93b07304f4ccda Change-Id: Iec43809719c71f856aa4a89ffbf40473c48b2fe1 Reviewed-on: https://gerrit.libreoffice.org/50488 Reviewed-by: pranavk Tested-by: pranavk --- sw/qa/extras/tiledrendering/tiledrendering.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw') diff --git a/sw/qa/extras/tiledrendering/tiledrendering.cxx b/sw/qa/extras/tiledrendering/tiledrendering.cxx index b3cdea7541f7..c876839fc31a 100644 --- a/sw/qa/extras/tiledrendering/tiledrendering.cxx +++ b/sw/qa/extras/tiledrendering/tiledrendering.cxx @@ -952,10 +952,10 @@ void SwTiledRenderingTest::testShapeViewCursors() Scheduler::ProcessEventsToIdle(); // Make sure that aView1 gets a view-only cursor notification, while // aView2 gets a real cursor notification. - CPPUNIT_ASSERT(aView1.m_aOwnCursor == aLastOwnCursor1); + CPPUNIT_ASSERT_EQUAL(aView1.m_aOwnCursor, aLastOwnCursor1); CPPUNIT_ASSERT(aView1.m_bViewCursorInvalidated && aLastViewCursor1 != aView1.m_aViewCursor); CPPUNIT_ASSERT(aView2.m_bOwnCursorInvalidated && aLastOwnCursor2 != aView2.m_aOwnCursor); - CPPUNIT_ASSERT(aLastViewCursor2 == aView2.m_aViewCursor); + CPPUNIT_ASSERT_EQUAL(aLastViewCursor2, aView2.m_aViewCursor); mxComponent->dispose(); mxComponent.clear(); -- cgit