diff options
Diffstat (limited to 'sccomp/source/solver/CoinMPSolver.cxx')
-rw-r--r-- | sccomp/source/solver/CoinMPSolver.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sccomp/source/solver/CoinMPSolver.cxx b/sccomp/source/solver/CoinMPSolver.cxx index 189a6f9f64a0..d7f1751972c3 100644 --- a/sccomp/source/solver/CoinMPSolver.cxx +++ b/sccomp/source/solver/CoinMPSolver.cxx @@ -39,20 +39,18 @@ public: CoinMPSolver() {} private: - virtual void SAL_CALL solve() throw(css::uno::RuntimeException, std::exception) override; - virtual OUString SAL_CALL getImplementationName() - throw(css::uno::RuntimeException, std::exception) override + virtual void SAL_CALL solve() override; + virtual OUString SAL_CALL getImplementationName() override { return OUString("com.sun.star.comp.Calc.CoinMPSolver"); } - virtual OUString SAL_CALL getComponentDescription() - throw (uno::RuntimeException, std::exception) override + virtual OUString SAL_CALL getComponentDescription() override { return SolverComponent::GetResourceString( RID_COINMP_SOLVER_COMPONENT ); } }; -void SAL_CALL CoinMPSolver::solve() throw(uno::RuntimeException, std::exception) +void SAL_CALL CoinMPSolver::solve() { uno::Reference<frame::XModel> xModel( mxDoc, uno::UNO_QUERY ); if ( !xModel.is() ) |