One DBG_ASSERT -> SAL_WARN_IF

Change-Id: I480be6ca8d84fae30a598a6b3a012606630343e5
This commit is contained in:
Stephan Bergmann 2012-11-24 21:32:11 +01:00
parent 536acfa5e4
commit 774003e879

View file

@ -354,11 +354,11 @@ namespace sfx2
// operate on a single filter name
void operator() ( const FilterName& _rName )
{
#ifdef DBG_UTIL
::std::pair< FilterGroupEntryReferrer::iterator, bool > aInsertRes =
#endif
m_rEntryReferrer.insert( FilterGroupEntryReferrer::value_type( _rName, m_aClassPos ) );
DBG_ASSERT( aInsertRes.second, "ReferToFilterEntry::operator(): already have an element for this name!" );
SAL_WARN_IF(
!aInsertRes.second, "sfx2.dialog",
"already have an element for " << _rName);
}
};