[Libreoffice-commits] core.git: sw/source

Jim Raykowski (via logerrit) logerrit at kemper.freedesktop.org
Thu Jun 24 14:51:44 UTC 2021


 sw/source/uibase/utlui/content.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit f446a203fa2897bab8ae7686c948a8bf060675c6
Author:     Jim Raykowski <raykowj at gmail.com>
AuthorDate: Tue Jun 22 21:29:22 2021 -0800
Commit:     Jim Raykowski <raykowj at gmail.com>
CommitDate: Thu Jun 24 16:50:56 2021 +0200

    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 at gmail.com>

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 ));


More information about the Libreoffice-commits mailing list