[Libreoffice-commits] core.git: Branch 'libreoffice-7-2' - sw/source

Jim Raykowski (via logerrit) logerrit at kemper.freedesktop.org
Thu Jun 24 22:38:38 UTC 2021


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

New commits:
commit 32cf12bf941975f7a040420f797ff6969caaf2d9
Author:     Jim Raykowski <raykowj at gmail.com>
AuthorDate: Tue Jun 22 21:29:22 2021 -0800
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Fri Jun 25 00:38:00 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>
    (cherry picked from commit f446a203fa2897bab8ae7686c948a8bf060675c6)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117730
    Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>

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