tweak assert and switch to squeak by NDEBUG and nonNDEBUG
Change-Id: I996d69d83acb77e96cb105f65a0243bd5fe80295
This commit is contained in:
parent
43c95611d2
commit
c880eb6b69
@ -1965,9 +1965,9 @@ void OSQLParseNode::negateSearchCondition(OSQLParseNode*& pSearchCondition, bool
|
||||
switch(pComparison->getNodeType())
|
||||
{
|
||||
default:
|
||||
assert(false && "OSQLParseNode::negateSearchCondition: unexpected node type!");
|
||||
SAL_FALLTHROUGH;
|
||||
case SQLNodeType::Equal:
|
||||
assert(pComparison->getNodeType() == SQLNodeType::Equal &&
|
||||
"OSQLParseNode::negateSearchCondition: unexpected node type!");
|
||||
pNewComparison = new OSQLParseNode(OUString("<>"),SQLNodeType::NotEqual,SQL_NOTEQUAL);
|
||||
break;
|
||||
case SQLNodeType::Less:
|
||||
|
Loading…
x
Reference in New Issue
Block a user