From 49f658f568dfae574217ec8f1c72654ffd6855bc Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 2 Dec 2016 08:17:32 +0100 Subject: svl: fix loplugin:cppunitassertequals warnings Change-Id: Ice929418e46ff42517a47dfcd5888a5cce36ae51 Reviewed-on: https://gerrit.libreoffice.org/31523 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- desktop/qa/desktop_lib/test_desktop_lib.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop/qa') diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx index 93ad652c1d8b..3abc8419613a 100644 --- a/desktop/qa/desktop_lib/test_desktop_lib.cxx +++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx @@ -1644,7 +1644,7 @@ void DesktopLOKTest::testGetFontSubset() std::stringstream aStream(pJSON); boost::property_tree::read_json(aStream, aTree); CPPUNIT_ASSERT( aTree.size() > 0 ); - CPPUNIT_ASSERT( aTree.get_child("commandName").get_value() == ".uno:FontSubset" ); + CPPUNIT_ASSERT_EQUAL( std::string(".uno:FontSubset"), aTree.get_child("commandName").get_value() ); boost::property_tree::ptree aValues = aTree.get_child("commandValues"); CPPUNIT_ASSERT( aValues.size() > 0 ); free(pJSON); -- cgit v1.2.3