summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-05-09 00:30:45 +0200
committerMichael Stahl <mstahl@redhat.com>2015-05-09 11:02:27 +0200
commitfb0553d6b4905fe2c923a2b5591c001d0be52398 (patch)
tree8d7c9944fe8cdeec8c0d278c37ed538f62b89592 /sw/source
parente07feb9457f2ffb373ae69b73dda290140e4005f (diff)
sw: remove bogus assert in SwDoc::IsInHeaderFooter()
If the for loop has a break after the first frame anchored on that node, it makes no sense to assert that all frames have been visited. (regression from bb95f7e6f7c9b1281875e6d729b66b6018794ee0) Change-Id: Ibd8d65f286b441127be7735c63f4b84ba94dcb6f
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/doc/doclay.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx
index 454caac494c1..e894c923d3a1 100644
--- a/sw/source/core/doc/doclay.cxx
+++ b/sw/source/core/doc/doclay.cxx
@@ -1553,9 +1553,6 @@ bool SwDoc::IsInHeaderFooter( const SwNodeIndex& rIdx ) const
OSL_ENSURE(mbInReading, "Found a FlySection but not a Format!");
return false;
}
-#if OSL_DEBUG_LEVEL > 0
- assert( checkFmts.empty());
-#endif
}
return 0 != pNd->FindHeaderStartNode() ||