sw/source/core/text/itratr.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 90e666baa16e167c733d0a0846ca6281daf1b099
Author: Michael Stahl <[email protected]>
AuthorDate: Wed Jan 18 19:33:33 2023 +0100
Commit: Michael Stahl <[email protected]>
CommitDate: Wed Jan 18 20:18:46 2023 +0000
sw: remove questionable assert that fires on tdf119224-1.docx
Change-Id: Ib928838523270a3e2d5a89eed60315919be2861d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145752
Tested-by: Jenkins
Reviewed-by: Michael Stahl <[email protected]>
diff --git a/sw/source/core/text/itratr.cxx b/sw/source/core/text/itratr.cxx
index d78a687a23d1..886baef79a23 100644
--- a/sw/source/core/text/itratr.cxx
+++ b/sw/source/core/text/itratr.cxx
@@ -330,7 +330,6 @@ bool SwAttrIter::Seek(TextFrameIndex const nNewPos)
}
while (nPos < m_pTextNode->Len());
}
- assert(m_nChgCnt == 0); // should have reset it all? there cannot be
ExtOn() inside of a Delete redline, surely?
// Unapply current para items:
// the SwAttrHandler doesn't appear to be capable of *unapplying*
// items at all; it can only apply a previously effective item.