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

Andreas Heinisch (via logerrit) logerrit at kemper.freedesktop.org
Tue Apr 20 08:54:42 UTC 2021


 sw/source/ui/misc/docfnote.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit f6ebc30cdc3fb5673beec61c1325c3831adb4886
Author:     Andreas Heinisch <andreas.heinisch at yahoo.de>
AuthorDate: Tue Apr 20 09:18:49 2021 +0200
Commit:     Andreas Heinisch <andreas.heinisch at yahoo.de>
CommitDate: Tue Apr 20 10:54:00 2021 +0200

    tdf#129836 - Alphabetize styles in the footnotes/endnotes dialog
    
    Change-Id: Ia578d902648ef9d2c11e5ba40b16f87197d0fa2b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114319
    Tested-by: Jenkins
    Reviewed-by: Andreas Heinisch <andreas.heinisch at yahoo.de>

diff --git a/sw/source/ui/misc/docfnote.cxx b/sw/source/ui/misc/docfnote.cxx
index f9086dc49375..c6b1eb0c40ec 100644
--- a/sw/source/ui/misc/docfnote.cxx
+++ b/sw/source/ui/misc/docfnote.cxx
@@ -101,7 +101,7 @@ SwEndNoteOptionPage::SwEndNoteOptionPage(weld::Container* pPage, weld::DialogCon
         m_xPosPageBox->connect_clicked(LINK(this, SwEndNoteOptionPage, PosPageHdl));
         m_xPosChapterBox->connect_clicked(LINK(this, SwEndNoteOptionPage, PosChapterHdl));
     }
-
+    m_xParaTemplBox->make_sorted();
 }
 
 SwEndNoteOptionPage::~SwEndNoteOptionPage()
@@ -171,7 +171,6 @@ void SwEndNoteOptionPage::Reset( const SfxItemSet* )
         m_xParaTemplBox->append_text(pStyle->GetName());
         pStyle = pStyleSheetPool->Next();
     }
-    m_xParaTemplBox->make_sorted();
 
     OUString sStr;
     SwStyleNameMapper::FillUIName( static_cast< sal_uInt16 >(bEndNote ? RES_POOLCOLL_ENDNOTE


More information about the Libreoffice-commits mailing list