summaryrefslogtreecommitdiff
path: root/sw/source/uibase/utlui
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2021-06-22 21:29:22 -0800
committerJim Raykowski <raykowj@gmail.com>2021-06-24 16:50:56 +0200
commitf446a203fa2897bab8ae7686c948a8bf060675c6 (patch)
tree16d53a5a3ef8e42cca60cfed935729de151cc825 /sw/source/uibase/utlui
parent3af7001d0a04fdbcb38a35d0841d7d186beeb57f (diff)
tdf#46626 Don't include footnote numbers in Navigator headings
Change-Id: I8c655c6ed1e1d05407dac27ef19f26c6ca8d8d54 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117692 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sw/source/uibase/utlui')
-rw-r--r--sw/source/uibase/utlui/content.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index f7b6adc04eb8..3fdfb0b01e2d 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -630,7 +630,8 @@ void SwContentType::FillMemberList(bool* pbLevelOrVisibilityChanged)
continue; // don't hide it, just skip it
}
OUString aEntry(comphelper::string::stripStart(
- m_pWrtShell->getIDocumentOutlineNodesAccess()->getOutlineText(i, m_pWrtShell->GetLayout()), ' '));
+ m_pWrtShell->getIDocumentOutlineNodesAccess()->getOutlineText(
+ i, m_pWrtShell->GetLayout(), true, false, false), ' '));
aEntry = SwNavigationPI::CleanEntry(aEntry);
std::unique_ptr<SwOutlineContent> pCnt(new SwOutlineContent(this, aEntry, i, nLevel,
m_pWrtShell->IsOutlineMovable( i ), nPos ));