diff options
Diffstat (limited to 'sccomp/source/solver/LpsolveSolver.cxx')
-rw-r--r-- | sccomp/source/solver/LpsolveSolver.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sccomp/source/solver/LpsolveSolver.cxx b/sccomp/source/solver/LpsolveSolver.cxx index 114a259dc304..a81883d57fca 100644 --- a/sccomp/source/solver/LpsolveSolver.cxx +++ b/sccomp/source/solver/LpsolveSolver.cxx @@ -83,9 +83,7 @@ private: void SAL_CALL LpsolveSolver::solve() { - uno::Reference<frame::XModel> xModel( mxDoc, uno::UNO_QUERY ); - if ( !xModel.is() ) - throw uno::RuntimeException(); + uno::Reference<frame::XModel> xModel( mxDoc, uno::UNO_QUERY_THROW ); maStatus.clear(); mbSuccess = false; |