summaryrefslogtreecommitdiffstats
path: root/sccomp
diff options
context:
space:
mode:
Diffstat (limited to 'sccomp')
-rw-r--r--sccomp/source/solver/CoinMPSolver.cxx2
-rw-r--r--sccomp/source/solver/LpsolveSolver.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sccomp/source/solver/CoinMPSolver.cxx b/sccomp/source/solver/CoinMPSolver.cxx
index 7a016b154220..47c0d8dd9337 100644
--- a/sccomp/source/solver/CoinMPSolver.cxx
+++ b/sccomp/source/solver/CoinMPSolver.cxx
@@ -58,7 +58,7 @@ void SAL_CALL CoinMPSolver::solve() throw(uno::RuntimeException, std::exception)
if ( !xModel.is() )
throw uno::RuntimeException();
- maStatus = "";
+ maStatus.clear();
mbSuccess = false;
xModel->lockControllers();
diff --git a/sccomp/source/solver/LpsolveSolver.cxx b/sccomp/source/solver/LpsolveSolver.cxx
index 817152f4e02f..b06cfeb7b0dd 100644
--- a/sccomp/source/solver/LpsolveSolver.cxx
+++ b/sccomp/source/solver/LpsolveSolver.cxx
@@ -90,7 +90,7 @@ void SAL_CALL LpsolveSolver::solve() throw(uno::RuntimeException, std::exception
if ( !xModel.is() )
throw uno::RuntimeException();
- maStatus = "";
+ maStatus.clear();
mbSuccess = false;
if ( mnEpsilonLevel < EPS_TIGHT || mnEpsilonLevel > EPS_BAGGY )