Reverse debug logic

Two warning messages are too much..

Change-Id: Ifaa40e1c7a32b488d1a40374507efea5e893280f
This commit is contained in:
Eike Rathke
2018-05-04 00:13:41 +02:00
parent 8c65f83963
commit ccbc955ed0

View File

@@ -464,7 +464,7 @@ namespace sfx2
{
DBG_ASSERT( !_rWildCard.isEmpty(),
"AppendWildcardToDescriptor::AppendWildcardToDescriptor: invalid wildcard!" );
DBG_ASSERT( !_rWildCard.isEmpty() && _rWildCard[0] != s_cWildcardSeparator,
DBG_ASSERT( _rWildCard.isEmpty() || _rWildCard[0] != s_cWildcardSeparator,
"AppendWildcardToDescriptor::AppendWildcardToDescriptor: wildcard already separated!" );
aWildCards.reserve( comphelper::string::getTokenCount(_rWildCard, s_cWildcardSeparator) );