From 7662e92c64ec194a2089f633a363d9dc45a4aa9d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 6 Apr 2017 08:59:07 +0200 Subject: loplugin:redundantcast find cstyle double casts Change-Id: I5507be190dac781e5cdb545a60acf3d50056c9f8 Reviewed-on: https://gerrit.libreoffice.org/36187 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sccomp/qa/unit/lpsolver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sccomp/qa') diff --git a/sccomp/qa/unit/lpsolver.cxx b/sccomp/qa/unit/lpsolver.cxx index 2754c03bc754..2ecc3282b17f 100644 --- a/sccomp/qa/unit/lpsolver.cxx +++ b/sccomp/qa/unit/lpsolver.cxx @@ -100,7 +100,7 @@ void LpSolverTest::testSolver(OUString const & rName) CPPUNIT_ASSERT(xSolver->getSuccess()); uno::Sequence aSolution = xSolver->getSolution(); CPPUNIT_ASSERT_EQUAL(aSolution.getLength(), aVariables.getLength()); - CPPUNIT_ASSERT_EQUAL(aSolution[0], (double)5.0); + CPPUNIT_ASSERT_EQUAL(aSolution[0], 5.0); uno::Reference xDesc(xSolver, uno::UNO_QUERY_THROW); const OString sMessage("Empty description for " + OUStringToOString(rName, RTL_TEXTENCODING_UTF8)); -- cgit v1.2.3