summaryrefslogtreecommitdiffstats
path: root/sccomp/source
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 11:28:41 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-13 16:44:11 +0100
commitfd3ae880bc267446dc27adf678801ae99a885fe3 (patch)
treeec4367afb2fdf43ec6332d0aa4cf1dcec0d30a9b /sccomp/source
parentAdd missing osl/diagnose.h (diff)
downloadcore-fd3ae880bc267446dc27adf678801ae99a885fe3.tar.gz
core-fd3ae880bc267446dc27adf678801ae99a885fe3.zip
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'sccomp/source')
-rw-r--r--sccomp/source/solver/solver.cxx2
1 files changed, 1 insertions, 1 deletions
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 );