Created attachment 96301 [details]
We're going through the list of hyperlinks each time a hyperlink is referenced that causes the slowness. Adding an std::map and reading the hyperlink list one would cause a major speedup for this document.
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":
fdo#76563 DOCX import: speed up importing lots of hyperlinks
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.