diff options
Diffstat (limited to 'starmath/inc/caret.hxx')
-rw-r--r-- | starmath/inc/caret.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/caret.hxx b/starmath/inc/caret.hxx index 7969b51721b5..2736617999cb 100644 --- a/starmath/inc/caret.hxx +++ b/starmath/inc/caret.hxx @@ -169,7 +169,7 @@ public: SmCaretPosGraphEntry* Add(SmCaretPos pos, SmCaretPosGraphEntry* left = NULL, SmCaretPosGraphEntry* right = NULL){ - OSL_ENSURE(pos.Index >= 0, "Index shouldn't be -1!"); + SAL_WARN_IF( pos.Index < 0, "starmath", "Index shouldn't be -1!" ); return Add(SmCaretPosGraphEntry(pos, left, right)); } /** Get an iterator for this graph */ |