sw/source/core/text/redlnitr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0771b84e4c5002338275da0d061f966e2fc47505 Author: Michael Stahl <michael.st...@allotropia.de> AuthorDate: Wed Jan 13 11:58:36 2021 +0100 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Fri Jan 15 13:35:43 2021 +0100 tdf#135014 sw_fieldmarkhide: fix bogus assert on loading the bugdoc The == case was omitted, iirc because of changing the first compare at the last minute. (regression from aacaa2aa91f705d64b929b5cff2872f160021b9f) Change-Id: I03602917def8248150139d788c880d93cab18bf1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109304 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.st...@allotropia.de> diff --git a/sw/source/core/text/redlnitr.cxx b/sw/source/core/text/redlnitr.cxx index fc498ec9b2b1..cb19a17648ed 100644 --- a/sw/source/core/text/redlnitr.cxx +++ b/sw/source/core/text/redlnitr.cxx @@ -182,7 +182,7 @@ public: } else if (m_oNextFieldmarkHide) { - assert(!pNextRedlineHide || *m_oNextFieldmarkHide < *pNextRedlineHide); + assert(!pNextRedlineHide || *m_oNextFieldmarkHide <= *pNextRedlineHide); m_pStartPos = &*m_oNextFieldmarkHide; m_pEndPos = m_Fieldmark.second.get(); return true; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits