diff options
-rw-r--r-- | sw/source/core/attr/calbck.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/attr/calbck.cxx b/sw/source/core/attr/calbck.cxx index 0ea5389f929c..a19229d1059a 100644 --- a/sw/source/core/attr/calbck.cxx +++ b/sw/source/core/attr/calbck.cxx @@ -151,7 +151,9 @@ void SwModify::Add( SwClient* pDepend ) if(SwClientIter::our_pClientIters) { for(auto& rIter : SwClientIter::our_pClientIters->GetRingContainer()) + { OSL_ENSURE( &rIter.GetModify() != pRoot, "Client added to active ClientIter" ); + } } #endif // deregister new client in case it is already registered elsewhere |