diff options
author | Heiko Tietze <tietze.heiko@gmail.com> | 2020-01-13 11:09:58 +0100 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2020-01-14 09:44:31 +0100 |
commit | 2b3c96a03f2e3c12148ec00c93f06e093d384db9 (patch) | |
tree | b0e2b080c5bb4a9b275c220a71ebc97907b0bef0 /sw | |
parent | fa412876add97cab38d404723c49d35775f8efea (diff) |
Related tdf#129836 - Alphabetize styles in the footnotes/endnotes dialog
Page and paragraph dropdowns were missing
in Ie9bc4f63412dabd6032f0a9b7225384823f2f39a
Change-Id: Ied25eeb1360718315190104213172da594e4b05c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86666
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/misc/docfnote.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/ui/misc/docfnote.cxx b/sw/source/ui/misc/docfnote.cxx index 9542740f5979..a4a101c77535 100644 --- a/sw/source/ui/misc/docfnote.cxx +++ b/sw/source/ui/misc/docfnote.cxx @@ -171,6 +171,7 @@ 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 @@ -205,6 +206,7 @@ void SwEndNoteOptionPage::Reset( const SfxItemSet* ) if (m_xPageTemplBox->find_text(rPageDesc.GetName()) == -1) m_xPageTemplBox->append_text(rPageDesc.GetName()); } + m_xPageTemplBox->make_sorted(); m_xPageTemplBox->set_active_text(pInf->GetPageDesc(*pSh->GetDoc())->GetName()); } |