use assert when followed by deref
Change-Id: I8405e4d8f9fa1de3ef6ee474321b4ac2b4ce1624
This commit is contained in:
@@ -83,7 +83,7 @@ void ComputedExpression::setExpression( const OUString& rExpression )
|
||||
|
||||
bool ComputedExpression::_checkExpression( const sal_Char* pExpression ) const
|
||||
{
|
||||
OSL_ENSURE( pExpression != NULL, "no expression?" );
|
||||
assert(pExpression && "no expression?");
|
||||
|
||||
// call RegExp engine
|
||||
SearchOptions aSearchOptions;
|
||||
|
Reference in New Issue
Block a user