diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-09-09 09:07:24 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-09-09 10:13:23 +0200 |
commit | 2e08ed63f070fb15b933fe9dc4c37f2daa6d4295 (patch) | |
tree | 593708be6942c704cd059dcf69acb3593bd0dd75 /starmath/inc/caret.hxx | |
parent | ed624d7f9c63c19e92862a926641103f9bdec071 (diff) |
OSL_ENSURE -> SAL_WARN_IF
Change-Id: I2807797c6906ae5aaa8aabf7298df5fd8604e96a
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 */ |