Kaydet (Commit) e8a9a973 authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

give better hints for the whodunnit in SwClient/Modify

Change-Id: Ic30f70cae1258fcf9e703d85093d52a059c9cd53
üst e966e9fa
......@@ -152,8 +152,7 @@ void SwModify::Add( SwClient* pDepend )
{
for(auto& rIter : sw::ClientIteratorBase::our_pClientIters->GetRingContainer())
{
OSL_ENSURE( &rIter.m_rRoot != m_pWriterListeners, "Client added to active ClientIter" );
//assert(&rIter.m_rRoot != m_pWriterListeners);
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment