diff options
-rw-r--r-- | svl/source/items/cntwall.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/flagitem.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/intitem.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/macitem.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/ptitem.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/rectitem.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/rngitem.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/sitem.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/slstitm.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/srchitem.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/szitem.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/visitem.cxx | 2 |
12 files changed, 12 insertions, 12 deletions
diff --git a/svl/source/items/cntwall.cxx b/svl/source/items/cntwall.cxx index b4e80bd24b42..5fa769f52e25 100644 --- a/svl/source/items/cntwall.cxx +++ b/svl/source/items/cntwall.cxx @@ -91,7 +91,7 @@ CntWallpaperItem::~CntWallpaperItem() bool CntWallpaperItem::operator==( const SfxPoolItem& rItem ) const { - DBG_ASSERT( SfxPoolItem::operator==( rItem ), "unequal type" ); + assert(SfxPoolItem::operator==(rItem)); const CntWallpaperItem& rWallItem = static_cast<const CntWallpaperItem&>(rItem); diff --git a/svl/source/items/flagitem.cxx b/svl/source/items/flagitem.cxx index e22c2888cb58..ee5ad34d1fb0 100644 --- a/svl/source/items/flagitem.cxx +++ b/svl/source/items/flagitem.cxx @@ -76,7 +76,7 @@ SfxPoolItem* SfxFlagItem::Create(SvStream &, sal_uInt16) const bool SfxFlagItem::operator==( const SfxPoolItem& rItem ) const { - DBG_ASSERT( SfxPoolItem::operator==( rItem ), "unequal type" ); + assert(SfxPoolItem::operator==(rItem)); return static_cast<const SfxFlagItem&>(rItem).nVal == nVal; } diff --git a/svl/source/items/intitem.cxx b/svl/source/items/intitem.cxx index 99ef393c15c0..09d31f860436 100644 --- a/svl/source/items/intitem.cxx +++ b/svl/source/items/intitem.cxx @@ -59,7 +59,7 @@ SfxInt16Item::SfxInt16Item(sal_uInt16 which, SvStream & rStream): // virtual bool SfxInt16Item::operator ==(const SfxPoolItem & rItem) const { - DBG_ASSERT(SfxPoolItem::operator ==(rItem), "unequal type"); + assert(SfxPoolItem::operator==(rItem)); return m_nValue == (static_cast< const SfxInt16Item * >(&rItem))-> m_nValue; } diff --git a/svl/source/items/macitem.cxx b/svl/source/items/macitem.cxx index 9580aab08bb4..d6bbd7931199 100644 --- a/svl/source/items/macitem.cxx +++ b/svl/source/items/macitem.cxx @@ -205,7 +205,7 @@ void SvxMacroTableDtor::Erase(sal_uInt16 nEvent) bool SvxMacroItem::operator==( const SfxPoolItem& rAttr ) const { - DBG_ASSERT( SfxPoolItem::operator==(rAttr), "unequal types" ); + assert(SfxPoolItem::operator==(rAttr)); const SvxMacroTableDtor& rOwn = aMacroTable; const SvxMacroTableDtor& rOther = static_cast<const SvxMacroItem&>(rAttr).aMacroTable; diff --git a/svl/source/items/ptitem.cxx b/svl/source/items/ptitem.cxx index cdfcb448c7f6..7da6c2199d64 100644 --- a/svl/source/items/ptitem.cxx +++ b/svl/source/items/ptitem.cxx @@ -69,7 +69,7 @@ bool SfxPointItem::GetPresentation bool SfxPointItem::operator==( const SfxPoolItem& rItem ) const { - DBG_ASSERT( SfxPoolItem::operator==( rItem ), "unequal type" ); + assert(SfxPoolItem::operator==(rItem)); return static_cast<const SfxPointItem&>(rItem).aVal == aVal; } diff --git a/svl/source/items/rectitem.cxx b/svl/source/items/rectitem.cxx index b1f14e4546a8..9f50f0681b52 100644 --- a/svl/source/items/rectitem.cxx +++ b/svl/source/items/rectitem.cxx @@ -69,7 +69,7 @@ bool SfxRectangleItem::GetPresentation bool SfxRectangleItem::operator==( const SfxPoolItem& rItem ) const { - DBG_ASSERT( SfxPoolItem::operator==( rItem ), "unequal type" ); + assert(SfxPoolItem::operator==(rItem)); return static_cast<const SfxRectangleItem&>(rItem).aVal == aVal; } diff --git a/svl/source/items/rngitem.cxx b/svl/source/items/rngitem.cxx index 467439ab66c9..f6f8c143b44c 100644 --- a/svl/source/items/rngitem.cxx +++ b/svl/source/items/rngitem.cxx @@ -63,7 +63,7 @@ bool SfxRangeItem::GetPresentation bool SfxRangeItem::operator==( const SfxPoolItem& rItem ) const { - DBG_ASSERT( SfxPoolItem::operator==( rItem ), "unequal type" ); + assert(SfxPoolItem::operator==(rItem)); const SfxRangeItem& rT = static_cast<const SfxRangeItem&>(rItem); return nFrom==rT.nFrom && nTo==rT.nTo; } diff --git a/svl/source/items/sitem.cxx b/svl/source/items/sitem.cxx index f82d5099ebc4..1947f7e99b79 100644 --- a/svl/source/items/sitem.cxx +++ b/svl/source/items/sitem.cxx @@ -52,7 +52,7 @@ SfxSetItem::~SfxSetItem() bool SfxSetItem::operator==( const SfxPoolItem& rCmp) const { - DBG_ASSERT( SfxPoolItem::operator==( rCmp ), "unequal type" ); + assert(SfxPoolItem::operator==(rCmp)); return *pSet == *static_cast<const SfxSetItem &>(rCmp).pSet; } diff --git a/svl/source/items/slstitm.cxx b/svl/source/items/slstitm.cxx index 5d4ccae725b1..ea8ee3fefcfa 100644 --- a/svl/source/items/slstitm.cxx +++ b/svl/source/items/slstitm.cxx @@ -106,7 +106,7 @@ const std::vector<OUString>& SfxStringListItem::GetList () const bool SfxStringListItem::operator==( const SfxPoolItem& rItem ) const { - DBG_ASSERT( SfxPoolItem::operator==( rItem ), "unequal type" ); + assert(SfxPoolItem::operator==(rItem)); const SfxStringListItem& rSSLItem = static_cast<const SfxStringListItem&>(rItem); diff --git a/svl/source/items/srchitem.cxx b/svl/source/items/srchitem.cxx index 7cdcea9e3f20..fe37c3fb33c7 100644 --- a/svl/source/items/srchitem.cxx +++ b/svl/source/items/srchitem.cxx @@ -262,7 +262,7 @@ static bool equalsWithoutLocale( const SearchOptions2& rItem1, const SearchOptio bool SvxSearchItem::operator==( const SfxPoolItem& rItem ) const { - DBG_ASSERT( SfxPoolItem::operator==( rItem ), "unequal which or type" ); + assert(SfxPoolItem::operator==(rItem)); const SvxSearchItem &rSItem = static_cast<const SvxSearchItem &>(rItem); return ( m_nCommand == rSItem.m_nCommand ) && ( m_bBackward == rSItem.m_bBackward ) && diff --git a/svl/source/items/szitem.cxx b/svl/source/items/szitem.cxx index 8a8db4fe4720..65d14c7b8509 100644 --- a/svl/source/items/szitem.cxx +++ b/svl/source/items/szitem.cxx @@ -58,7 +58,7 @@ bool SfxSizeItem::GetPresentation bool SfxSizeItem::operator==( const SfxPoolItem& rItem ) const { - DBG_ASSERT( SfxPoolItem::operator==( rItem ), "unequal type" ); + assert(SfxPoolItem::operator==(rItem)); return static_cast<const SfxSizeItem&>(rItem).aVal == aVal; } diff --git a/svl/source/items/visitem.cxx b/svl/source/items/visitem.cxx index 32d75681ca36..d2952099e2c3 100644 --- a/svl/source/items/visitem.cxx +++ b/svl/source/items/visitem.cxx @@ -34,7 +34,7 @@ SfxVisibilityItem::SfxVisibilityItem(sal_uInt16 which, SvStream & rStream): // virtual bool SfxVisibilityItem::operator ==(const SfxPoolItem & rItem) const { - DBG_ASSERT(SfxPoolItem::operator ==(rItem), "unequal type"); + assert(SfxPoolItem::operator==(rItem)); return m_nValue.bVisible == (static_cast< const SfxVisibilityItem * >(&rItem))-> m_nValue.bVisible; } |