summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docbm.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-05-30 16:03:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-05-30 18:19:41 +0200
commit79b233be14e75157aecd97179c568baad0a60016 (patch)
tree2c3065ab9e2465789e877d54c7178d936dabd17e /sw/source/core/doc/docbm.cxx
parent6f179ce5c5469d1c53e4bb7736384b2d9ce51926 (diff)
"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.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/doc/docbm.cxx')
-rw-r--r--sw/source/core/doc/docbm.cxx4
1 files changed, 0 insertions, 4 deletions
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()))