Fix apparently broken OSL_ASSERT (that would have never fired)
Change-Id: Id766129caefc845d3c9318ee0d9178657200d226
This commit is contained in:
@@ -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 ];
|
||||
|
Reference in New Issue
Block a user