Created attachment 96301 [details] Reproducer document 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": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f5ae42f9344a523e586fdcca4f0e670ee2a4d821 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: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.