summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2024-07-25 14:17:06 +0200
committerOliver Specht <oliver.specht@cib.de>2024-07-29 13:30:23 +0200
commit44d129870795da2e370ad5f2f8abc95c5c6873aa (patch)
tree838ddd4ffa604be966c9c7e27fe53776164cdf8d
parent89ff0796a812179a56d6802a5397c4f51e0c2e09 (diff)
Use NDEBUG to show/hide m_bDeleted
"#ifndef NDEBUG" is now always used to hide/show member m_bDeleted Change-Id: I10f5111cd36e13b8101d2a69ed9268bee622344a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171012 Tested-by: Jenkins Reviewed-by: Oliver Specht <oliver.specht@cib.de>
-rw-r--r--svl/source/items/itemset.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx
index 8c7e772a1efd..e580653acb4e 100644
--- a/svl/source/items/itemset.cxx
+++ b/svl/source/items/itemset.cxx
@@ -166,7 +166,7 @@ SfxPoolItemHolder::~SfxPoolItemHolder()
getPool().unregisterPoolItemHolder(*this);
if (nullptr != m_pItem)
implCleanupItemEntry(m_pItem);
-#ifdef DBG_UTIL
+#ifndef NDEBUG
m_bDeleted = true;
#endif
}