summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-11-24 21:32:11 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-11-24 23:21:37 +0100
commit774003e87946ca9dc63b1c1c550be968016d1e53 (patch)
tree18972bf2317b10894514f431eda9e4170e049e21
parent536acfa5e448fd3767a1ce8601fa7a38a13bb15c (diff)
One DBG_ASSERT -> SAL_WARN_IF
Change-Id: I480be6ca8d84fae30a598a6b3a012606630343e5
-rw-r--r--sfx2/source/dialog/filtergrouping.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/dialog/filtergrouping.cxx b/sfx2/source/dialog/filtergrouping.cxx
index a168d94dea26..3cbfd6a32028 100644
--- a/sfx2/source/dialog/filtergrouping.cxx
+++ b/sfx2/source/dialog/filtergrouping.cxx
@@ -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);
}
};