diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-11-18 21:57:42 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-11-18 22:21:55 +0100 |
commit | 3662061633f5651ad7f01543a3ce8807cdd966fe (patch) | |
tree | 6b5812e12e03d9d9ed9359df9e6260dd3af83f35 /sfx2 | |
parent | 5781a709a94895003ded8dd30722cd22faf04e63 (diff) |
editeng: assert SfxPoolItem::operator==
Change-Id: Ia6c6f4f5af1e3a803b464ab410558984c3861a65
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/config/evntconf.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/zoomitem.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/config/evntconf.cxx b/sfx2/source/config/evntconf.cxx index e7bea262ed20..3b45707eb1ea 100644 --- a/sfx2/source/config/evntconf.cxx +++ b/sfx2/source/config/evntconf.cxx @@ -71,7 +71,7 @@ void SfxEventNamesList::DelDtor() bool SfxEventNamesItem::operator==( const SfxPoolItem& rAttr ) const { - DBG_ASSERT( SfxPoolItem::operator==(rAttr), "unequal types" ); + assert(SfxPoolItem::operator==(rAttr)); const SfxEventNamesList& rOwn = aEventsList; const SfxEventNamesList& rOther = static_cast<const SfxEventNamesItem&>( rAttr ).aEventsList; diff --git a/sfx2/source/doc/zoomitem.cxx b/sfx2/source/doc/zoomitem.cxx index da35e86a9ab2..c71405547eb1 100644 --- a/sfx2/source/doc/zoomitem.cxx +++ b/sfx2/source/doc/zoomitem.cxx @@ -90,7 +90,7 @@ SvStream& SvxZoomItem::Store( SvStream& rStrm, sal_uInt16 /*nItemVersion*/ ) con bool SvxZoomItem::operator==( const SfxPoolItem& rAttr ) const { - DBG_ASSERT( SfxPoolItem::operator==(rAttr), "unequal types" ); + assert(SfxPoolItem::operator==(rAttr)); const SvxZoomItem& rItem = static_cast<const SvxZoomItem&>(rAttr); |