svl/source/items/itemset.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 37f4fc947f81294eebffab5adc1a437bcfc09632
Author:     Caolán McNamara <[email protected]>
AuthorDate: Mon Dec 25 22:18:24 2023 +0000
Commit:     Xisco Fauli <[email protected]>
CommitDate: Tue Dec 26 13:31:28 2023 +0100

    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 <[email protected]>
    (cherry picked from commit f8163aba61c6c2037deb32c61e52a8c4bd38d07f)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161314
    Reviewed-by: Xisco Fauli <[email protected]>

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
 {

Reply via email to