summaryrefslogtreecommitdiff
path: root/install-sh
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2022-02-18 21:13:50 -0900
committerJim Raykowski <raykowj@gmail.com>2022-03-04 01:42:40 +0100
commit2b924f0d83ce63882e7d14a2b51cc645c2532920 (patch)
tree979015652abb21be48643ca18f4e227099c22a72 /install-sh
parent58f2c1e6ab3052e0746dabb36e6061125779b034 (diff)
SwNavigator: speed up footnote endnote content fill
Reduces the time to fill the footnote endnote content array by avoiding SwFormatFootnote::GetFootnoteText which calls the somewhat time consuming SwTextNode::GetExpandText. Just calling SwTextNode::GetText to get the footnote endnote first paragraph text should be good enough here. Testing with debug and optimized builds on a test document with 6243 footnotes and endnotes shows a relative average differene of 10000 μs between use of lcl_GetFootnoteText, introduced by this patch, versus the current use of SwFormatFootnote::GetFootnoteText. Change-Id: I6a870c0700a3e64348e5550a0fc129eabf1b1d44 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130182 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'install-sh')
0 files changed, 0 insertions, 0 deletions