diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/sbxitem.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/basctl/source/basicide/sbxitem.cxx b/basctl/source/basicide/sbxitem.cxx index 7a1f2e935874..f2a190970b25 100644 --- a/basctl/source/basicide/sbxitem.cxx +++ b/basctl/source/basicide/sbxitem.cxx @@ -60,9 +60,10 @@ SfxPoolItem *SbxItem::Clone(SfxItemPool*) const bool SbxItem::operator==(const SfxPoolItem& rCmp) const { SbxItem const* pSbxItem = dynamic_cast<SbxItem const*>(&rCmp); - DBG_ASSERT(pSbxItem, "==: no SbxItem!" ); + assert(pSbxItem); //no SbxItem! return SfxPoolItem::operator==(rCmp) && + pSbxItem && m_aDocument == pSbxItem->m_aDocument && m_aLibName == pSbxItem->m_aLibName && m_aName == pSbxItem->m_aName && |