summaryrefslogtreecommitdiff
path: root/svl/source/items/srchitem.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-11-18 21:35:52 +0100
committerMichael Stahl <mstahl@redhat.com>2016-11-18 22:21:55 +0100
commit5781a709a94895003ded8dd30722cd22faf04e63 (patch)
tree29c1fe73d7bd7badc8412140d4d313b0e95b3b58 /svl/source/items/srchitem.cxx
parent70840f46755063a32af3bdb02ed6dba1f4873d01 (diff)
svl: assert SfxPoolItem::operator==
Change-Id: Ia293c498682dd2ac86b15a74f06fd1ab389f9ba6
Diffstat (limited to 'svl/source/items/srchitem.cxx')
-rw-r--r--svl/source/items/srchitem.cxx2
1 files changed, 1 insertions, 1 deletions
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 ) &&