summaryrefslogtreecommitdiff
path: root/sccomp/qa/unit/solver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sccomp/qa/unit/solver.cxx')
-rw-r--r--sccomp/qa/unit/solver.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sccomp/qa/unit/solver.cxx b/sccomp/qa/unit/solver.cxx
index 4405279e26cb..eedbce69f274 100644
--- a/sccomp/qa/unit/solver.cxx
+++ b/sccomp/qa/unit/solver.cxx
@@ -87,8 +87,7 @@ void LpSolverTest::testSolver(OUString const & rName)
table::CellAddress aObjective(0, 0, 0);
// "changing cells" - unknown variables
- uno::Sequence<table::CellAddress> aVariables(1);
- aVariables[0] = table::CellAddress(0, 0, 0);
+ uno::Sequence<table::CellAddress> aVariables { {0, 0, 0 } };
// constraints
uno::Sequence<sheet::SolverConstraint> aConstraints(1);