diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 10:39:39 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:24:38 +0100 |
commit | f4aadeac07d3d2462ff4597d6bf4f7c3d605c95d (patch) | |
tree | c482640979184469c85caaed387062bb58daa2d6 | |
parent | c1be13dafea130afaf46176f4efc1c5546dfa10e (diff) |
Fix apparently broken OSL_ASSERT (that would have never fired)
Change-Id: Id766129caefc845d3c9318ee0d9178657200d226
-rw-r--r-- | sw/source/core/unocore/unoobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx index 006279ea0dca..bbdc6c11784b 100644 --- a/sw/source/core/unocore/unoobj.cxx +++ b/sw/source/core/unocore/unoobj.cxx @@ -2342,7 +2342,7 @@ void SAL_CALL SwXTextCursor::setPropertyValues( aPropertyNames[ i ] == UNO_NAME_IS_SKIP_PROTECTED_TEXT ) { // the behaviour of these is hard to model in a group - OSL_ASSERT("invalid property name for batch setting"); + OSL_FAIL("invalid property name for batch setting"); throw lang::IllegalArgumentException(); } aPropertyValues[ i ].Name = aPropertyNames[ i ]; |