diff options
Diffstat (limited to 'sccomp/qa/unit/lpsolver.cxx')
-rw-r--r-- | sccomp/qa/unit/lpsolver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<double> 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<sheet::XSolverDescription> xDesc(xSolver, uno::UNO_QUERY_THROW); const OString sMessage("Empty description for " + OUStringToOString(rName, RTL_TEXTENCODING_UTF8)); |