sw/source/core/doc/docbm.cxx | 4 ---- 1 file changed, 4 deletions(-) New commits: commit 79b233be14e75157aecd97179c568baad0a60016 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Thu May 30 16:03:13 2019 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Thu May 30 18:19:41 2019 +0200
"more than USHRT_MAX marks" seems to be fine now Change-Id: Iccd87324b56fb7ff003f028330758024e47f3f26 Reviewed-on: https://gerrit.libreoffice.org/73207 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx index 283585c7aa2c..096c6ab29549 100644 --- a/sw/source/core/doc/docbm.cxx +++ b/sw/source/core/doc/docbm.cxx @@ -421,10 +421,6 @@ namespace sw { namespace mark pPos2->nContent.GetIndex()); } #endif - // see for example _SaveContentIdx, Shells - OSL_PRECOND(m_vAllMarks.size() < USHRT_MAX, - "MarkManager::makeMark(..)" - " - more than USHRT_MAX marks are not supported correctly"); // There should only be one CrossRefBookmark per Textnode per Type if ((eType == MarkType::CROSSREF_NUMITEM_BOOKMARK || eType == MarkType::CROSSREF_HEADING_BOOKMARK) && (lcl_FindMarkAtPos(m_vBookmarks, *rPaM.Start(), eType) != m_vBookmarks.end())) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits