summaryrefslogtreecommitdiff
path: root/starmath/inc/caret.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/inc/caret.hxx')
-rw-r--r--starmath/inc/caret.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/caret.hxx b/starmath/inc/caret.hxx
index be40598982c7..c0bda175746b 100644
--- a/starmath/inc/caret.hxx
+++ b/starmath/inc/caret.hxx
@@ -188,7 +188,7 @@ public:
SmCaretPosGraphEntry* Add(SmCaretPos pos,
SmCaretPosGraphEntry* left = NULL,
SmCaretPosGraphEntry* right = NULL){
- j_assert(pos.Index >= 0, "Index shouldn't be -1!");
+ OSL_ENSURE(pos.Index >= 0, "Index shouldn't be -1!");
return Add(SmCaretPosGraphEntry(pos, left, right));
}
/** Get an iterator for this graph */