diff options
author | Andreas Heinisch <andreas.heinisch@yahoo.de> | 2021-04-20 09:18:49 +0200 |
---|---|---|
committer | Andreas Heinisch <andreas.heinisch@yahoo.de> | 2021-04-20 10:54:00 +0200 |
commit | f6ebc30cdc3fb5673beec61c1325c3831adb4886 (patch) | |
tree | 32fde7f3b24bf003edd128b26844dc6b3e5db801 | |
parent | 24362462d78b31c0b7d4fcf6d63b2c9740823c9f (diff) |
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@yahoo.de>
-rw-r--r-- | sw/source/ui/misc/docfnote.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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 |