From d91e3f5fb4228b5e4c42ac2532fd84bea6cdbe7d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 30 Nov 2017 16:19:26 +0000 Subject: Resolves: tdf#114112 sort 'select' list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I0b80b2f7e8377f92a397b6557d2c3fad3e63f16a Reviewed-on: https://gerrit.libreoffice.org/45606 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sw/source/ui/fldui/fldvar.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'sw/source/ui') diff --git a/sw/source/ui/fldui/fldvar.cxx b/sw/source/ui/fldui/fldvar.cxx index 46fd6eb88802..cf3434c42e80 100644 --- a/sw/source/ui/fldui/fldvar.cxx +++ b/sw/source/ui/fldui/fldvar.cxx @@ -48,6 +48,7 @@ SwFieldVarPage::SwFieldVarPage(vcl::Window* pParent, const SfxItemSet *const pCo get(m_pTypeLB, "type"); get(m_pSelection, "selectframe"); get(m_pSelectionLB, "select"); + m_pSelectionLB->SetStyle(m_pSelectionLB->GetStyle() | WB_SORT); get(m_pFormat, "formatframe"); get(m_pChapterFrame, "chapterframe"); get(m_pNameFT, "nameft"); -- cgit