sw/source/core/attr/calbck.cxx |    9 ---------
 1 file changed, 9 deletions(-)

New commits:
commit 018f58b5f2d891b71c4824ff4dd324172b63ad42
Author:     Noel Grandin <noelgran...@gmail.com>
AuthorDate: Wed Feb 21 20:17:21 2024 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Wed Feb 21 22:02:24 2024 +0100

    remove some log noise
    
    this warning was added in
       commit 5630cca2031eeeaa20c916ea9542ccef2327349f
       Merge: 0562ba185b5c f6c764706cd4
       Author: Jan Holesovsky <ke...@suse.cz>
       Date:   Wed Mar 23 17:00:12 2011 +0100
       Merge commit 'ooo/DEV300_m103'
    
    but does not seem to indicate an actual issue, and is rather noisy
    
    Change-Id: Ib494d81566fc55b17f1c55d9be2372edad88855a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163710
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/sw/source/core/attr/calbck.cxx b/sw/source/core/attr/calbck.cxx
index 871dff43477b..a58cd89baf45 100644
--- a/sw/source/core/attr/calbck.cxx
+++ b/sw/source/core/attr/calbck.cxx
@@ -188,15 +188,6 @@ void SwModify::Add( SwClient* pDepend )
     if(pDepend->m_pRegisteredIn == this)
         return;
 
-#if OSL_DEBUG_LEVEL > 0
-    if(sw::ClientIteratorBase::s_pClientIters)
-    {
-        for(auto& rIter : 
sw::ClientIteratorBase::s_pClientIters->GetRingContainer())
-        {
-            SAL_WARN_IF(&rIter.m_rRoot == m_pWriterListeners, "sw.core", "a " 
<< typeid(*pDepend).name() << " client added as listener to a " << 
typeid(*this).name() << " during client iteration.");
-        }
-    }
-#endif
     // deregister new client in case it is already registered elsewhere
     if( pDepend->m_pRegisteredIn != nullptr )
         pDepend->m_pRegisteredIn->Remove( pDepend );

Reply via email to