From fd3ae880bc267446dc27adf678801ae99a885fe3 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 12 Mar 2011 11:28:41 +0100 Subject: Move OSL_ENSURE(false,...) to OSL_FAIL(...) --- sccomp/source/solver/solver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sccomp/source') diff --git a/sccomp/source/solver/solver.cxx b/sccomp/source/solver/solver.cxx index 101e29bd891d..7b5cce7f8d26 100644 --- a/sccomp/source/solver/solver.cxx +++ b/sccomp/source/solver/solver.cxx @@ -470,7 +470,7 @@ void SAL_CALL SolverComponent::solve() throw(uno::RuntimeException) case sheet::SolverConstraintOperator_GREATER_EQUAL: nConstrType = GE; break; case sheet::SolverConstraintOperator_EQUAL: nConstrType = EQ; break; default: - OSL_ENSURE( false, "unexpected enum type" ); + OSL_FAIL( "unexpected enum type" ); } add_constraint( lp, pValues, nConstrType, fRightValue ); -- cgit