diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-28 09:23:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-28 09:18:31 +0100 |
commit | b5bde198a8e5054277787d3c6b5feddb4c5b93fd (patch) | |
tree | b69fcda448584b2488c6e85f99a2fb14d53e73c6 /sccomp | |
parent | 72302338f9eb5e965dd84dca9990841151e2f79c (diff) |
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sccomp')
-rw-r--r-- | sccomp/qa/unit/SwarmSolverTest.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
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<container::XIndexAccess> xIndex(xDocument->getSheets(), uno::UNO_QUERY_THROW); uno::Reference<sheet::XSpreadsheet> xSheet(xIndex->getByIndex(0), uno::UNO_QUERY_THROW); - uno::Reference<table::XCell> xCell; - uno::Reference<sheet::XSolver> xSolver; const OUString sSolverName("com.sun.star.comp.Calc.SwarmSolver"); @@ -118,8 +116,6 @@ void SwarmSolverTest::testVariableBounded() uno::Reference<container::XIndexAccess> xIndex(xDocument->getSheets(), uno::UNO_QUERY_THROW); uno::Reference<sheet::XSpreadsheet> xSheet(xIndex->getByIndex(0), uno::UNO_QUERY_THROW); - uno::Reference<table::XCell> xCell; - uno::Reference<sheet::XSolver> xSolver; const OUString sSolverName("com.sun.star.comp.Calc.SwarmSolver"); @@ -172,8 +168,6 @@ void SwarmSolverTest::testVariableConstrained() uno::Reference<container::XIndexAccess> xIndex(xDocument->getSheets(), uno::UNO_QUERY_THROW); uno::Reference<sheet::XSpreadsheet> xSheet(xIndex->getByIndex(0), uno::UNO_QUERY_THROW); - uno::Reference<table::XCell> xCell; - uno::Reference<sheet::XSolver> xSolver; const OUString sSolverName("com.sun.star.comp.Calc.SwarmSolver"); @@ -230,8 +224,6 @@ void SwarmSolverTest::testTwoVariables() uno::Reference<container::XIndexAccess> xIndex(xDocument->getSheets(), uno::UNO_QUERY_THROW); uno::Reference<sheet::XSpreadsheet> xSheet(xIndex->getByIndex(0), uno::UNO_QUERY_THROW); - uno::Reference<table::XCell> xCell; - uno::Reference<sheet::XSolver> xSolver; const OUString sSolverName("com.sun.star.comp.Calc.SwarmSolver"); @@ -295,8 +287,6 @@ void SwarmSolverTest::testMultipleVariables() uno::Reference<container::XIndexAccess> xIndex(xDocument->getSheets(), uno::UNO_QUERY_THROW); uno::Reference<sheet::XSpreadsheet> xSheet(xIndex->getByIndex(0), uno::UNO_QUERY_THROW); - uno::Reference<table::XCell> xCell; - uno::Reference<sheet::XSolver> xSolver; const OUString sSolverName("com.sun.star.comp.Calc.SwarmSolver"); |