summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-17 16:34:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-17 16:34:06 +0100
commit2f49c0bdd67919a5b75c2692d4a18f6a53f355fb (patch)
tree06545f2115cbbc03d14de7b7e21fd16f9d2e788e
parent93b0b5b71dc1251ea2f1873b42b2e5f82bf9d9e4 (diff)
Fix MSVC build
Change-Id: Ibe96a03b4ac6e93501b4512ecd28975956a6f37f
-rw-r--r--sw/source/core/attr/calbck.cxx2
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