From b5bde198a8e5054277787d3c6b5feddb4c5b93fd Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 28 Jan 2020 09:23:03 +0200 Subject: remove some unused local vars found by my new loplugin:unusedvariableplus Change-Id: Ic3f55f492d43a53d8850a97d44059ff127fd69a2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87573 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sccomp/qa/unit/SwarmSolverTest.cxx | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'sccomp') diff --git a/sccomp/qa/unit/SwarmSolverTest.cxx b/sccomp/qa/unit/SwarmSolverTest.cxx index 90422e520197..a92eb0b65d49 100644 --- a/sccomp/qa/unit/SwarmSolverTest.cxx +++ b/sccomp/qa/unit/SwarmSolverTest.cxx @@ -66,8 +66,6 @@ void SwarmSolverTest::testUnconstrained() uno::Reference xIndex(xDocument->getSheets(), uno::UNO_QUERY_THROW); uno::Reference xSheet(xIndex->getByIndex(0), uno::UNO_QUERY_THROW); - uno::Reference xCell; - uno::Reference xSolver; const OUString sSolverName("com.sun.star.comp.Calc.SwarmSolver"); @@ -118,8 +116,6 @@ void SwarmSolverTest::testVariableBounded() uno::Reference xIndex(xDocument->getSheets(), uno::UNO_QUERY_THROW); uno::Reference xSheet(xIndex->getByIndex(0), uno::UNO_QUERY_THROW); - uno::Reference xCell; - uno::Reference xSolver; const OUString sSolverName("com.sun.star.comp.Calc.SwarmSolver"); @@ -172,8 +168,6 @@ void SwarmSolverTest::testVariableConstrained() uno::Reference xIndex(xDocument->getSheets(), uno::UNO_QUERY_THROW); uno::Reference xSheet(xIndex->getByIndex(0), uno::UNO_QUERY_THROW); - uno::Reference xCell; - uno::Reference xSolver; const OUString sSolverName("com.sun.star.comp.Calc.SwarmSolver"); @@ -230,8 +224,6 @@ void SwarmSolverTest::testTwoVariables() uno::Reference xIndex(xDocument->getSheets(), uno::UNO_QUERY_THROW); uno::Reference xSheet(xIndex->getByIndex(0), uno::UNO_QUERY_THROW); - uno::Reference xCell; - uno::Reference xSolver; const OUString sSolverName("com.sun.star.comp.Calc.SwarmSolver"); @@ -295,8 +287,6 @@ void SwarmSolverTest::testMultipleVariables() uno::Reference xIndex(xDocument->getSheets(), uno::UNO_QUERY_THROW); uno::Reference xSheet(xIndex->getByIndex(0), uno::UNO_QUERY_THROW); - uno::Reference xCell; - uno::Reference xSolver; const OUString sSolverName("com.sun.star.comp.Calc.SwarmSolver"); -- cgit o/collabora/co-24.04 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author