sw/source/ui/index/swuiidxmrk.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 9b1c218c9a4f09cac33fba24712bb9af029f2ea9
Author:     Andreas Heinisch <andreas.heini...@yahoo.de>
AuthorDate: Wed Dec 21 09:46:31 2022 +0100
Commit:     Andreas Heinisch <andreas.heini...@yahoo.de>
CommitDate: Wed Dec 21 10:08:10 2022 +0000

    tdf#90641 - Insert bibliography dialog: sort entries by identifier
    
    Change-Id: I77210c1dff237deeb93df0102cd96685cb36d4f2
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144645
    Tested-by: Jenkins
    Reviewed-by: Andreas Heinisch <andreas.heini...@yahoo.de>

diff --git a/sw/source/ui/index/swuiidxmrk.cxx 
b/sw/source/ui/index/swuiidxmrk.cxx
index fe3fa2b67282..656eacedae02 100644
--- a/sw/source/ui/index/swuiidxmrk.cxx
+++ b/sw/source/ui/index/swuiidxmrk.cxx
@@ -1206,6 +1206,8 @@ SwAuthorMarkPane::SwAuthorMarkPane(weld::DialogController 
&rDialog, weld::Builde
 
     m_xEntryED->set_visible(!m_bNewEntry);
     m_xEntryLB->set_visible(m_bNewEntry);
+    // tdf#90641 - sort bibliography entries by identifier
+    m_xEntryLB->make_sorted();
     if (m_bNewEntry)
     {
         m_xEntryLB->connect_changed(LINK(this, SwAuthorMarkPane, 
CompEntryHdl));

Reply via email to