diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 13:29:36 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 14:12:30 +0100 |
commit | 43c8ca3f995fed8cf9fbfc6bc5ef2b779cd0a154 (patch) | |
tree | 834633bbb90fe39aa5a725532015a4a10c997e78 /sccomp | |
parent | 108bab2bf7ad5a5d8449dbe9768976cb87554bc1 (diff) |
sccomp: Use appropriate OUString functions on string constants
Change-Id: Ie8495d9da8d3e7c69d12ce3b4d19d3b864cdf818
Diffstat (limited to 'sccomp')
-rw-r--r-- | sccomp/source/solver/CoinMPSolver.cxx | 2 | ||||
-rw-r--r-- | sccomp/source/solver/LpsolveSolver.cxx | 2 |
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 ) |