diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-10-27 13:28:35 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-10-27 14:25:52 +0100 |
commit | a54734c82a6584da6becadec2d0cb25fbc296624 (patch) | |
tree | ef9039a6a61af4a3d1f705a32f19a85b6161dd57 /sw/source/uibase/chrdlg | |
parent | 3c3257e499ff48e89b58ce722364ca96738970b1 (diff) |
sw: assert SfxPoolItem::operator==
Change-Id: I9b48fc25abcbdeceefd5a86d8305209f312c9976
Diffstat (limited to 'sw/source/uibase/chrdlg')
-rw-r--r-- | sw/source/uibase/chrdlg/ccoll.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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] != |