basic: fix loplugin:cppunitassertequals warnings

Change-Id: I80c773f3127ebbce4b9b2a122a91a2e2ca4f505b
Reviewed-on: https://gerrit.libreoffice.org/27424
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
This commit is contained in:
Miklos Vajna
2016-07-22 09:14:24 +02:00
parent 10b13ba41d
commit 4e6d0f6fe7
3 changed files with 6 additions and 6 deletions

View File

@@ -53,7 +53,7 @@ void EnableTest::testEnableRuntime()
myMacro.Compile();
CPPUNIT_ASSERT_MESSAGE("testEnableRuntime fails with compile error",!myMacro.HasError() );
SbxVariableRef pNew = myMacro.Run();
CPPUNIT_ASSERT(pNew->GetInteger() == 3 );
CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int16>(3), pNew->GetInteger());
}
void EnableTest::testDimEnable()