diff options
Diffstat (limited to 'sccomp')
-rw-r--r-- | sccomp/source/solver/SwarmSolver.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sccomp/source/solver/SwarmSolver.cxx b/sccomp/source/solver/SwarmSolver.cxx index 0aa75b158c96..d59df283441c 100644 --- a/sccomp/source/solver/SwarmSolver.cxx +++ b/sccomp/source/solver/SwarmSolver.cxx @@ -508,6 +508,8 @@ void SAL_CALL SwarmSolver::solve() maStatus.clear(); mbSuccess = false; + if (!maVariables.getLength()) + return; maBounds.resize(maVariables.getLength()); |