Better fix for fdo#87558: Duplication in Last Used Functions sidebar list
Better fix for fdo#87558: Duplication in Last Used Functions sidebar list

Advantage compared to previous fix: in sidebar, last used function is put at the top

Still function from menu is sorted, the pb is we use InsertEntry, see
0  ImplEntryList::InsertEntry (this=0x32d0910, nPos=2147483647, pNewEntry=0x326f620, bSort=true)
    at /home/julien/compile-libreoffice/libreoffice/vcl/source/control/ilstbox.cxx:144
1  0x00002aaab1b2444e in ImplListBoxWindow::InsertEntry (this=0x3287358, nPos=2147483647, pNewEntry=0x326f620)
    at /home/julien/compile-libreoffice/libreoffice/vcl/source/control/ilstbox.cxx:750
2  0x00002aaab1b2a138 in ImplListBox::InsertEntry (this=0x3287100, nPos=2147483647, rStr="ACOT")
    at /home/julien/compile-libreoffice/libreoffice/vcl/source/control/ilstbox.cxx:2182
3  0x00002aaab1b47d51 in ListBox::InsertEntry (this=0x32e9ca0, rStr="ACOT", nPos=2147483647)
    at /home/julien/compile-libreoffice/libreoffice/vcl/source/control/lstbox.cxx:1001
4  0x00002aaad0c05d84 in formula::FuncPage::UpdateFunctionList (this=0x3217110) at /home/julien/compile-libreoffice/libreoffice/formula/source/ui/dlg/funcpage.cxx:153
should we create a new InsertEntry to force bSort=false?

Change-Id: Iba1b020aeea09951dead30f6781b24993aac98e0
Reviewed-on: https://gerrit.libreoffice.org/13725
Reviewed-by: Eike Rathke <ca97d066ec547ed7b5f176c01ed86da55dede03e@redhat.com>
Tested-by: Eike Rathke <ca97d066ec547ed7b5f176c01ed86da55dede03e@redhat.com>

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core