summaryrefslogtreecommitdiff
path: root/svl/source/items/poolitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/poolitem.cxx')
-rw-r--r--svl/source/items/poolitem.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/svl/source/items/poolitem.cxx b/svl/source/items/poolitem.cxx
index a1afa3407f4c..f7d17e1324ff 100644
--- a/svl/source/items/poolitem.cxx
+++ b/svl/source/items/poolitem.cxx
@@ -40,7 +40,7 @@ SfxPoolItem::SfxPoolItem(sal_uInt16 const nWhich)
, m_nWhich(nWhich)
, m_nKind(SfxItemKind::NONE)
{
- DBG_ASSERT(nWhich <= SHRT_MAX, "invalid WhichId");
+ assert(nWhich <= SHRT_MAX);
#if OSL_DEBUG_LEVEL > 0
++nItemCount;
if ( pw1 && nItemCount>=10000 )
@@ -226,7 +226,8 @@ SfxVoidItem::SfxVoidItem( const SfxVoidItem& rCopy):
bool SfxVoidItem::operator==( const SfxPoolItem& rCmp ) const
{
- DBG_ASSERT( SfxPoolItem::operator==( rCmp ), "unequal type" );
+ assert(SfxPoolItem::operator==(rCmp));
+ (void) rCmp;
return true;
}