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/visitors.hxx | |
parent | ed624d7f9c63c19e92862a926641103f9bdec071 (diff) |
OSL_ENSURE -> SAL_WARN_IF
Change-Id: I2807797c6906ae5aaa8aabf7298df5fd8604e96a
Diffstat (limited to 'starmath/inc/visitors.hxx')
-rw-r--r-- | starmath/inc/visitors.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/visitors.hxx b/starmath/inc/visitors.hxx index ef217632c94c..3e74c533fa54 100644 --- a/starmath/inc/visitors.hxx +++ b/starmath/inc/visitors.hxx @@ -165,7 +165,7 @@ public: SmCaretPos2LineVisitor( OutputDevice *pDevice, SmCaretPos position ) { pDev = pDevice; pos = position; - OSL_ENSURE( position.IsValid( ), "Cannot draw invalid position!" ); + SAL_WARN_IF( !position.IsValid(), "starmath", "Cannot draw invalid position!" ); pos.pSelectedNode->Accept( this ); } |