summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-25 22:18:24 +0000
committerXisco Fauli <xiscofauli@libreoffice.org>2023-12-26 13:31:28 +0100
commit37f4fc947f81294eebffab5adc1a437bcfc09632 (patch)
tree99deb0463e0757088d428dd5cbc800ddda0bc0ed /svl
parent2e8b59608471ab6c62a2e9c851dbe2b28fbd9804 (diff)
cid#1559882 Uninitialized scalar field
and cid#1559872 Uninitialized scalar field Change-Id: Iaea583d63cd1f0a1b68c60adb57c8c1db9a26a9c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161292 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> (cherry picked from commit f8163aba61c6c2037deb32c61e52a8c4bd38d07f) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161314 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/itemset.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx
index b14cfa20383e..66780cb581cb 100644
--- a/svl/source/items/itemset.cxx
+++ b/svl/source/items/itemset.cxx
@@ -74,7 +74,7 @@ SfxPoolItemHolder::SfxPoolItemHolder()
SfxPoolItemHolder::SfxPoolItemHolder(SfxItemPool& rPool, const SfxPoolItem* pItem, bool bPassingOwnership)
: m_pPool(&rPool)
, m_pItem(pItem)
-#ifdef DBG_UTIL
+#ifndef NDEBUG
, m_bDeleted(false)
#endif
{
@@ -89,7 +89,7 @@ SfxPoolItemHolder::SfxPoolItemHolder(SfxItemPool& rPool, const SfxPoolItem* pIte
SfxPoolItemHolder::SfxPoolItemHolder(const SfxPoolItemHolder& rHolder)
: m_pPool(rHolder.m_pPool)
, m_pItem(rHolder.m_pItem)
-#ifdef DBG_UTIL
+#ifndef NDEBUG
, m_bDeleted(false)
#endif
{