From a54734c82a6584da6becadec2d0cb25fbc296624 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 27 Oct 2014 13:28:35 +0100 Subject: sw: assert SfxPoolItem::operator== Change-Id: I9b48fc25abcbdeceefd5a86d8305209f312c9976 --- sw/source/uibase/chrdlg/ccoll.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/uibase/chrdlg') diff --git a/sw/source/uibase/chrdlg/ccoll.cxx b/sw/source/uibase/chrdlg/ccoll.cxx index 5de9a98f40cc..621f7a40d87b 100644 --- a/sw/source/uibase/chrdlg/ccoll.cxx +++ b/sw/source/uibase/chrdlg/ccoll.cxx @@ -149,7 +149,7 @@ SfxPoolItem* SwCondCollItem::Clone( SfxItemPool * /*pPool*/ ) const bool SwCondCollItem::operator==( const SfxPoolItem& rItem) const { - OSL_ENSURE( SfxPoolItem::operator==(rItem), "different types" ); + assert(SfxPoolItem::operator==(rItem)); bool bReturn = true; for(sal_uInt16 i = 0; i < COND_COMMAND_COUNT; i++) if (m_sStyles[i] != -- cgit