Fix apparently broken OSL_ASSERT (that would have never fired)

Change-Id: Id766129caefc845d3c9318ee0d9178657200d226
This commit is contained in:
Stephan Bergmann
2014-01-28 10:39:39 +01:00
parent c1be13dafe
commit f4aadeac07

View File

@@ -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 ];