diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-10-28 21:22:24 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-10-28 22:49:28 +0200 |
commit | 855e69d37eec08efdf9952ec3fb5424cf69e9f54 (patch) | |
tree | 03ea085da1382b0e2fbf0c570fe094c52b48c2ba /svl | |
parent | 3d456dfa6637c6c3ebe7a21f1f1a5b05039cee2a (diff) |
svl: SfxPoolItem reference counting assertions
Change-Id: Ice2ec9a4592a1fad36913ae7d089aa8c63dfc669
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/poolitem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/poolitem.cxx b/svl/source/items/poolitem.cxx index 0032ac6c5ad0..a1afa3407f4c 100644 --- a/svl/source/items/poolitem.cxx +++ b/svl/source/items/poolitem.cxx @@ -110,8 +110,8 @@ SfxPoolItem::SfxPoolItem( const SfxPoolItem& rCpy ) SfxPoolItem::~SfxPoolItem() { - DBG_ASSERT(m_nRefCount == 0 || m_nRefCount > SFX_ITEMS_MAXREF, - "destroying item in use"); + assert((m_nRefCount == 0 || m_nRefCount > SFX_ITEMS_MAXREF) + && "destroying item in use"); #if OSL_DEBUG_LEVEL > 0 --nItemCount; #endif |