diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-07-22 09:14:24 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-07-22 08:32:36 +0000 |
commit | 4e6d0f6fe70cb84c0fda0cc8e61baf20f5ab250e (patch) | |
tree | b42201f80c624bc88fabbffb41534f73a26ee639 /basic/qa/cppunit/test_vba.cxx | |
parent | 10b13ba41d608a14789a94f53344d76bceca9aae (diff) |
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>
Diffstat (limited to 'basic/qa/cppunit/test_vba.cxx')
-rw-r--r-- | basic/qa/cppunit/test_vba.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/qa/cppunit/test_vba.cxx b/basic/qa/cppunit/test_vba.cxx index 7d145e832f02..ee0d6dc1ec3b 100644 --- a/basic/qa/cppunit/test_vba.cxx +++ b/basic/qa/cppunit/test_vba.cxx @@ -81,7 +81,7 @@ void VBATest::testMiscVBAFunctions() fprintf(stderr, "macro returned:\n%s\n", OUStringToOString( pReturn->GetOUString(), RTL_TEXTENCODING_UTF8 ).getStr() ); } CPPUNIT_ASSERT_MESSAGE("No return variable huh?", pReturn != nullptr ); - CPPUNIT_ASSERT_MESSAGE("Result not as expected", pReturn->GetOUString() == "OK" ); + CPPUNIT_ASSERT_EQUAL_MESSAGE("Result not as expected", OUString("OK"), pReturn->GetOUString() ); } } |